Module: RestPack::Serializer::Resource::ClassMethods
- Defined in:
- lib/restpack_serializer/serializable/resource.rb
Instance Method Summary collapse
Instance Method Details
#resource(params = {}, scope = nil, context = {}) ⇒ Object
5 6 7 |
# File 'lib/restpack_serializer/serializable/resource.rb', line 5 def resource(params = {}, scope = nil, context = {}) RestPack::Serializer::Options.new(self, params, scope, context) end |