Sha256: 6b77da1eeaf88283950f923491e8f205a425356175c8cdac211e9bd390e2d346

Contents?: true

Size: 256 Bytes

Versions: 42

Compression:

Stored size: 256 Bytes

Contents

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

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

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
restpack_serializer-0.6.15 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.14 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.13 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.12 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.11 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.10 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.9 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.8 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.7 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.6 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.5 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.4 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.3 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.2 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.6.1 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.5.10 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.5.9 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.5.8 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.5.7 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.5.6 lib/restpack_serializer/serializable/resource.rb