Sha256: 4b8b1e79a82e58cc4c5faa93d372d842222829b55b39c84a3acb63bf0854e6d3

Contents?: true

Size: 121 Bytes

Versions: 8

Compression:

Stored size: 121 Bytes

Contents

Spree::Base.class_eval do
  def self.paginate(page_attrs)
    page(page_attrs[:number]).per(page_attrs[:size])
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
solidus_json_api-0.3.1 app/models/spree/base_decorator.rb
solidus_json_api-0.3.0 app/models/spree/base_decorator.rb
spree_api_v2-0.2.2 app/models/spree/base_decorator.rb
solidus_api_v2-0.2.2 app/models/spree/base_decorator.rb
solidus_api_v2-0.2.1 app/models/spree/base_decorator.rb
spree_api_v2-0.2.1 app/models/spree/base_decorator.rb
spree_api_v2-0.2.0 app/models/spree/base_decorator.rb
solidus_api_v2-0.2.0 app/models/spree/base_decorator.rb