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.4.13 lib/restpack_serializer/serializable/resource.rb
restpack_serializer-0.4.12 lib/restpack_serializer/serializable/resource.rb