Class: NanoRpc::Response

Inherits:
Hash
  • Object
show all
Includes:
Hashie::Extensions::IndifferentAccess, Hashie::Extensions::MergeInitializer, Hashie::Extensions::MethodAccess
Defined in:
lib/nano_rpc/response.rb

Instance Method Summary collapse

Constructor Details

#initialize(hash = {}) ⇒ Response

Returns a new instance of Response.



9
10
11
12
# File 'lib/nano_rpc/response.rb', line 9

def initialize(hash = {})
  super
  coerce_values
end