Sha256: e987376746b9b3fd787881f15c488edb0ace592bbd8160addb16a10c376cf6eb

Contents?: true

Size: 444 Bytes

Versions: 15

Compression:

Stored size: 444 Bytes

Contents

# frozen_string_literal: true

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

15 entries across 15 versions & 1 rubygems

Version Path
chartmogul-ruby-3.0.0 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-2.9.0 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-2.1.0 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-2.0.0 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.7.3 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.7.2 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.7.1 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.6.9 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.6.8 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.6.7 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.6.6 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.6.4 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.6.3 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.6.2 lib/chartmogul/metrics/customer_count.rb
chartmogul-ruby-1.6.1 lib/chartmogul/metrics/customer_count.rb