Module: Jat::Plugins::SimpleApi::Response::ClassMethods

Included in:
Jat::Plugins::SimpleApi::Response
Defined in:
lib/jat/plugins/simple_api/lib/response.rb

Instance Method Summary collapse

Instance Method Details

#call(object, context) ⇒ Object



9
10
11
# File 'lib/jat/plugins/simple_api/lib/response.rb', line 9

def call(object, context)
  new(object, context).to_h
end