Sha256: 07c282ed0e834d7d20ab8e81a0966abfc74b6b2914e162911fa1259f6b64eed2

Contents?: true

Size: 285 Bytes

Versions: 25

Compression:

Stored size: 285 Bytes

Contents

# frozen_string_literal: true

module ChartMogul
  module Concerns
    module Pageable
      def self.included(base)
        base.instance_eval do
          readonly_attr :has_more
          readonly_attr :per_page
          readonly_attr :page
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
chartmogul-ruby-1.6.6 lib/chartmogul/concerns/pageable.rb
chartmogul-ruby-1.6.4 lib/chartmogul/concerns/pageable.rb
chartmogul-ruby-1.6.3 lib/chartmogul/concerns/pageable.rb
chartmogul-ruby-1.6.2 lib/chartmogul/concerns/pageable.rb
chartmogul-ruby-1.6.1 lib/chartmogul/concerns/pageable.rb