Module: ChartMogul::Concerns::Pageable

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



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

def self.included(base)
  base.instance_eval do
    readonly_attr :has_more
    readonly_attr :per_page
    readonly_attr :page
  end
end