Class: BigDoor::NamedTransaction
- Defined in:
- lib/big_door/named_transaction.rb
Overview
This module provides NamedTransaction Resource object corresponding to /named_transaction BigDoor API end point
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ NamedTransaction
constructor
Initialize new NamedTransaction object with optional Hash.
Methods inherited from Resource
all, #delete, #end_point, end_point, end_point_from_classname, #get_id, #instance_to_payload, #load, #response_to_instance, #save
Constructor Details
#initialize(hash = {}) ⇒ NamedTransaction
Initialize new NamedTransaction object with optional Hash
13 14 15 16 17 18 19 |
# File 'lib/big_door/named_transaction.rb', line 13 def initialize( hash = {} ) $log.debug( "NamedTransaction init with hash = #{hash.inspect}") default_values = { } default_values.merge!( hash ) $log.debug( "NamedTransaction default_values = #{default_values.inspect}") super( default_values ) end |