Class: Chartmogul::Metric::Customer

Inherits:
Base
  • Object
show all
Defined in:
lib/chartmogul/metrics/customer.rb

Direct Known Subclasses

Activity, Subscription

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

method_missing

Instance Attribute Details

#customer_uuidObject (readonly)

Returns the value of attribute customer_uuid


4
5
6
# File 'lib/chartmogul/metrics/customer.rb', line 4

def customer_uuid
  @customer_uuid
end

Instance Method Details

#list(customer_uuid:, **listing_options) ⇒ Object


6
7
8
9
# File 'lib/chartmogul/metrics/customer.rb', line 6

def list(customer_uuid:, **listing_options)
  @customer_uuid = customer_uuid
  list_resource(listing_options)
end