Module: TPEX::Response

Defined in:
lib/tpex/response.rb

Class Method Summary collapse

Class Method Details

.create(response_hash) ⇒ Object



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

def self.create( response_hash )
  data = response_hash.data.dup rescue response_hash
  data.extend( self )
  data
end