Module: FlowAccount::Response

Defined in:
lib/flow_account/response.rb

Class Method Summary collapse

Class Method Details

.create(response_hash) ⇒ Object



3
4
5
6
7
8
# File 'lib/flow_account/response.rb', line 3

def self.create(response_hash)
  result = response_hash.result.dup rescue response_hash
  result.extend(self)

  result
end