Class: ChartMogul::CustomerInvoices
- Inherits:
-
APIResource
- Object
- Object
- APIResource
- ChartMogul::CustomerInvoices
- Extended by:
- Forwardable
- Includes:
- API::Actions::All, API::Actions::Create, ChartMogul::Concerns::Pageable2, Enumerable
- Defined in:
- lib/chartmogul/customer_invoices.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
Instance Method Summary collapse
Methods included from ChartMogul::Concerns::Pageable2
Methods included from API::Actions::Create
Methods included from API::Actions::All
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
.all(customer_uuid, options = {}) ⇒ Object
23 24 25 |
# File 'lib/chartmogul/customer_invoices.rb', line 23 def self.all(customer_uuid, = {}) super(.merge(customer_uuid: customer_uuid)) end |
Instance Method Details
#serialize_invoices ⇒ Object
19 20 21 |
# File 'lib/chartmogul/customer_invoices.rb', line 19 def serialize_invoices map(&:serialize_for_write) end |