Last active
May 31, 2017 17:53
-
-
Save mwhagedorn/24d0b620904bc46ed4be674d93d89e1f to your computer and use it in GitHub Desktop.
Push billing to June 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c = Console::PrepareGatewayMigration.new('protectionplan', Time.zone.parse('May 31 2017 5:00pm EST') | |
before_date = Time.zone.parse('June 1 2017 2:00pm EST') | |
c.record_original_next_assessment_at(before_date) | |
c.delay_billing_dates_until(before_date) | |
c = Console::PrepareGatewayMigration.new('petplus-vpi', Time.zone.parse('May 31 2017 5:00pm EST') | |
before_date = Time.zone.parse('June 1 2017 2:00pm EST') | |
c.record_original_next_assessment_at(before_date) | |
c.delay_billing_dates_until(before_date) | |
# OR push to later today | |
c = Console::PrepareGatewayMigration.new('protectionplan', Time.zone.parse('May 31 2017 5:00pm EST') | |
before_date = Time.zone.parse('May 31 2017 7:00pm EST') | |
c.record_original_next_assessment_at(before_date) | |
c.delay_billing_dates_until(before_date) | |
c = Console::PrepareGatewayMigration.new('petplus-vpi', Time.zone.parse('May 31 2017 5:00pm EST') | |
before_date = Time.zone.parse('May 31 2017 7:00pm EST') | |
c.record_original_next_assessment_at(before_date) | |
c.delay_billing_dates_until(before_date) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment