Module: ChartMogul::Concerns::Pageable
- Included in:
- ChartMogul::Customers, Enrichment::Customers, Metrics::Activities, Metrics::Subscriptions
- Defined in:
- lib/chartmogul/concerns/pageable.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/chartmogul/concerns/pageable.rb', line 4 def self.included(base) base.instance_eval do readonly_attr :has_more readonly_attr :per_page readonly_attr :page end end |