Sha256: 163392b8ef13715c10dbc4c5b4555419f92e0b42c0dceda522de8582da0b4312

Contents?: true

Size: 233 Bytes

Versions: 16

Compression:

Stored size: 233 Bytes

Contents

module RestPack::Serializer::Resource
  extend ActiveSupport::Concern

  module ClassMethods
    def resource(params = {}, scope = nil)
      page_with_options RestPack::Serializer::Options.new(self, params, scope)
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
restpack_serializer-0.4.11 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.10 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.9 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.8 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.7 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.6 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.5 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.4 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.3 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.2 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.1 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.2.16 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.2.15 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.2.14 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.2.13 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.2.12 lib/restpack_serializer/serializable/resource.rb