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.5.5 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.5.4 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.5.3 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.5.2 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.5.1 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.5.0 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.28 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.27 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.26 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.25 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.24 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.23 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.21 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.20 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.19 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.18 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.17 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.16 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.15 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.14 lib/restpack_serializer/serializable/resource.rb