Module: LockstepSdk::Client::Migration
- Defined in:
- lib/clients/Migration.rb
Instance Method Summary collapse
-
#list_migrations ⇒ Object
Lists all of the customer, contact, payment, and invoice data currently available for Migration.
-
#migrate_data ⇒ Object
Migrates all customer data from the Lockstep Collect system to the API, including all stored data for contacts, companies, payments, and invoices.
Instance Method Details
#list_migrations ⇒ Object
Lists all of the customer, contact, payment, and invoice data currently available for Migration.
29 30 31 32 |
# File 'lib/clients/Migration.rb', line 29 def list_migrations() path = "/api/v1/Migration/list" send_request(:get, path, nil, nil) end |
#migrate_data ⇒ Object
Migrates all customer data from the Lockstep Collect system to the API, including all stored data for contacts, companies, payments, and invoices.
22 23 24 25 |
# File 'lib/clients/Migration.rb', line 22 def migrate_data() path = "/api/v1/Migration" send_request(:post, path, nil, nil) end |