Sha256: 5548c604d6d02866f4f4dd4226ff8a1ac647bf0ca592c14deecdb27a95742dd5

Contents?: true

Size: 433 Bytes

Versions: 2

Compression:

Stored size: 433 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

2 entries across 2 versions & 1 rubygems

Version Path
chartmogul-ruby-1.1.4 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.1.2 lib/chartmogul/metrics/customer_count.rb