Sha256: 44ecc6f5d920c69b94760db4a1c26bfad57298988cebbff6130e26cab501db42
Contents?: true
Size: 882 Bytes
Versions: 9
Compression:
Stored size: 882 Bytes
Contents
module ChartMogul module Metrics class Activity < ChartMogul::Object readonly_attr :id readonly_attr :description readonly_attr :type readonly_attr :date, type: :time readonly_attr :activity_arr readonly_attr :activity_mrr readonly_attr :activity_mrr_movement readonly_attr :currency readonly_attr :currency_sign def self.all(customer_uuid, options = {}) ChartMogul::Metrics::Activities.all(customer_uuid, options) end end class Activities < APIResource set_resource_name 'Activities' set_resource_path '/v1/customers/:customer_uuid/activities' include Concerns::Entries include Concerns::Pageable set_entry_class Activity def self.all(customer_uuid, options = {}) super(options.merge(customer_uuid: customer_uuid)) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems