Skip to content

Instantly share code, notes, and snippets.

@cored
Last active December 5, 2019 23:09
Show Gist options
  • Save cored/d938031cf51a0dda53c66a74f77c6594 to your computer and use it in GitHub Desktop.
Save cored/d938031cf51a0dda53c66a74f77c6594 to your computer and use it in GitHub Desktop.
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