Module: ChartMogul::Concerns::Pageable2

Included in:
ChartMogul::CustomerInvoices, ChartMogul::Customers, Invoices, PlanGroup::PlanGroups, PlanGroups::Plans, Plans, Subscriptions
Defined in:
lib/chartmogul/concerns/pageable2.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



6
7
8
9
10
11
# File 'lib/chartmogul/concerns/pageable2.rb', line 6

def self.included(base)
  base.instance_eval do
    readonly_attr :current_page
    readonly_attr :total_pages
  end
end