Class: ChartMogul::Enrichment::Customers
- Inherits:
-
APIResource
- Object
- Object
- APIResource
- ChartMogul::Enrichment::Customers
- Includes:
- API::Actions::Custom, Concerns::Entries, Concerns::Pageable
- Defined in:
- lib/chartmogul/enrichment/customer.rb
Constant Summary
Constants inherited from APIResource
APIResource::BACKOFF_FACTOR, APIResource::INTERVAL, APIResource::INTERVAL_RANDOMNESS, APIResource::MAX_INTERVAL, APIResource::RETRY_EXCEPTIONS, APIResource::RETRY_STATUSES
Class Method Summary collapse
Methods included from Concerns::Pageable
Methods included from API::Actions::Custom
#custom!, #custom_without_assign!, included
Methods included from Concerns::Entries
Methods inherited from APIResource
connection, handle_other_error, handle_request_error, handling_errors, set_resource_name, set_resource_path, set_resource_root_key
Class Method Details
.search(email) ⇒ Object
124 125 126 127 |
# File 'lib/chartmogul/enrichment/customer.rb', line 124 def self.search(email) path = ChartMogul::ResourcePath.new('/v1/customers/search') custom!(:get, path.apply_with_get_params(email: email)) end |