Last active
December 5, 2019 23:09
-
-
Save cored/d938031cf51a0dda53c66a74f77c6594 to your computer and use it in GitHub Desktop.
This file contains 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
def self.create_canada_account(payload, client_id) | |
account_id = payload[:account][:checkr_internal_id] | |
client_name = payload[:account][:name] | |
sfdc_id = payload[:account][:sfdc_id] | |
Billing::Models::CanadaAccount.create!( | |
account_id: account_id, | |
client_name: client_name, | |
client_id: client_id, | |
sfdc_id: sfdc_id | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment