Class: TrueConf::Entity::Call
- Extended by:
- Callable
- Defined in:
- lib/true-conf/entity/call.rb
Class Method Summary collapse
Methods included from Callable
Methods inherited from Response
Class Method Details
.build(*res) ⇒ Object
23 24 25 26 |
# File 'lib/true-conf/entity/call.rb', line 23 def build(*res) body = res.last new JSON.parse(body.first) end |