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
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
134 135 136 137 |
# File 'lib/chartmogul/enrichment/customer.rb', line 134 def self.search(email) path = ChartMogul::ResourcePath.new('/v1/customers/search') custom!(:get, path.apply_with_get_params(email: email)) end |