Module: Eloqua::Sync
- Included in:
- BulkClient
- Defined in:
- lib/eloqua_api/bulk/sync.rb
Instance Method Summary collapse
- #sync(export_uri, options = {}) ⇒ Object
- #sync_status(sync_uri, options = {}) ⇒ Object (also: #syncs_status)
-
#syncs(export_uri, options = {}) ⇒ Object
Version 2.0 of the Bulk API changed this endpoint from sync to syncs.
Instance Method Details
#sync(export_uri, options = {}) ⇒ Object
3 4 5 6 |
# File 'lib/eloqua_api/bulk/sync.rb', line 3 def sync(export_uri, ={}) [:syncedInstanceUri] ||= export_uri post("sync", ) end |
#sync_status(sync_uri, options = {}) ⇒ Object Also known as: syncs_status
8 9 10 |
# File 'lib/eloqua_api/bulk/sync.rb', line 8 def sync_status(sync_uri, ={}) get(sync_uri, ) end |
#syncs(export_uri, options = {}) ⇒ Object
Version 2.0 of the Bulk API changed this endpoint from sync to syncs.
16 17 18 19 |
# File 'lib/eloqua_api/bulk/sync.rb', line 16 def syncs(export_uri, ={}) [:syncedInstanceUri] ||= export_uri post("syncs", ) end |