Class: TrustCommerce::Result
- Inherits:
-
Hash
- Object
- Hash
- TrustCommerce::Result
- Defined in:
- lib/trustcommerce.rb
Instance Method Summary collapse
-
#initialize(constructor = {}) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(constructor = {}) ⇒ Result
Returns a new instance of Result.
160 161 162 163 164 165 166 167 |
# File 'lib/trustcommerce.rb', line 160 def initialize(constructor = {}) if constructor.is_a?(Hash) super() update(constructor) else super(constructor) end end |