Module: Jat::Plugins::SimpleApi::ResponsePiece::ClassMethods

Included in:
Jat::Plugins::SimpleApi::ResponsePiece
Defined in:
lib/jat/plugins/simple_api/lib/response_piece.rb

Instance Method Summary collapse

Instance Method Details

#to_h(object, context, map) ⇒ Object



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

def to_h(object, context, map)
  new(object, context).piece(map)
end