Class: BaseResponse
- Inherits:
-
Object
- Object
- BaseResponse
- Defined in:
- lib/mundipagg/BaseResponse.rb
Instance Attribute Summary collapse
-
#ErrorReport ⇒ Object
Returns the value of attribute ErrorReport.
-
#InternalTime ⇒ Object
Returns the value of attribute InternalTime.
-
#MerchantKey ⇒ Object
Returns the value of attribute MerchantKey.
-
#RequestKey ⇒ Object
Returns the value of attribute RequestKey.
Instance Method Summary collapse
Instance Attribute Details
#ErrorReport ⇒ Object
Returns the value of attribute ErrorReport.
7 8 9 |
# File 'lib/mundipagg/BaseResponse.rb', line 7 def ErrorReport @ErrorReport end |
#InternalTime ⇒ Object
Returns the value of attribute InternalTime.
9 10 11 |
# File 'lib/mundipagg/BaseResponse.rb', line 9 def InternalTime @InternalTime end |
#MerchantKey ⇒ Object
Returns the value of attribute MerchantKey.
5 6 7 |
# File 'lib/mundipagg/BaseResponse.rb', line 5 def MerchantKey @MerchantKey end |
#RequestKey ⇒ Object
Returns the value of attribute RequestKey.
3 4 5 |
# File 'lib/mundipagg/BaseResponse.rb', line 3 def RequestKey @RequestKey end |
Instance Method Details
#to_json ⇒ Object
11 12 13 14 15 |
# File 'lib/mundipagg/BaseResponse.rb', line 11 def to_json hash = {} instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end |