Class: Eloqua::Api::EloquaExternalAssetsTypes
- Defined in:
- lib/eloqua/api/eloqua_external_assets_types.rb
Instance Method Summary collapse
- #create_external_activity(payload:) ⇒ Object
- #find(id:) ⇒ Object
- #find_all(query_params: {}, search_params: {}) ⇒ Object
Methods inherited from Base
#execute, #initialize, #load_and_execute
Methods included from UrlHelper
#extend_params_to_url, #sub_api_version, #sub_id_in_endpoint
Constructor Details
This class inherits a constructor from Eloqua::Api::Base
Instance Method Details
#create_external_activity(payload:) ⇒ Object
14 15 16 |
# File 'lib/eloqua/api/eloqua_external_assets_types.rb', line 14 def create_external_activity(payload:) load_and_execute(api: 'create_external_activity', payload: payload) end |
#find(id:) ⇒ Object
10 11 12 |
# File 'lib/eloqua/api/eloqua_external_assets_types.rb', line 10 def find(id:) load_and_execute(api: 'single_asset_activities', id: id) end |
#find_all(query_params: {}, search_params: {}) ⇒ Object
6 7 8 |
# File 'lib/eloqua/api/eloqua_external_assets_types.rb', line 6 def find_all(query_params: {}, search_params: {}) load_and_execute(api: 'external_assets_types', query_params: query_params, search_params: search_params) end |