Sha256: b24dc86eea2e3bc456b1b9f7a34a64182ae4f4491c241414b05a0cb6bf152200

Contents?: true

Size: 414 Bytes

Versions: 10

Compression:

Stored size: 414 Bytes

Contents

module ChartMogul
  module Metrics
    class CustomerCount < ChartMogul::Object
      readonly_attr :date, type: :date
      readonly_attr :customers
    end

    class CustomerCounts < APIResource
      set_resource_name 'Customer Counts'
      set_resource_path '/v1/metrics/customer-count'

      include Concerns::Entries
      include Concerns::Summary

      set_entry_class CustomerCount
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
chartmogul-ruby-1.1.3 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.1.1 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.1.0 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.0.2 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.0.1 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.0.0 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-0.1.4 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-0.1.3 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-0.1.2 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-0.1.1 lib/chartmogul/metrics/customer_count.rb