Module: VaultedBilling::Gateway::Response
- Defined in:
- lib/vaulted_billing/gateway.rb
Instance Attribute Summary collapse
-
#connection_error ⇒ Object
writeonly
Sets the attribute connection_error.
-
#error_code ⇒ Object
Returns the value of attribute error_code.
-
#raw_response ⇒ Object
Returns the value of attribute raw_response.
-
#response ⇒ Object
Returns the value of attribute response.
-
#response_message ⇒ Object
Returns the value of attribute response_message.
-
#success ⇒ Object
writeonly
Sets the attribute success.
-
#transactions ⇒ Object
Returns the value of attribute transactions.
Instance Method Summary collapse
Instance Attribute Details
#connection_error=(value) ⇒ Object (writeonly)
Sets the attribute connection_error
9 10 11 |
# File 'lib/vaulted_billing/gateway.rb', line 9 def connection_error=(value) @connection_error = value end |
#error_code ⇒ Object
Returns the value of attribute error_code.
7 8 9 |
# File 'lib/vaulted_billing/gateway.rb', line 7 def error_code @error_code end |
#raw_response ⇒ Object
Returns the value of attribute raw_response.
5 6 7 |
# File 'lib/vaulted_billing/gateway.rb', line 5 def raw_response @raw_response end |
#response ⇒ Object
Returns the value of attribute response.
4 5 6 |
# File 'lib/vaulted_billing/gateway.rb', line 4 def response @response end |
#response_message ⇒ Object
Returns the value of attribute response_message.
6 7 8 |
# File 'lib/vaulted_billing/gateway.rb', line 6 def @response_message end |
#success=(value) ⇒ Object (writeonly)
Sets the attribute success
10 11 12 |
# File 'lib/vaulted_billing/gateway.rb', line 10 def success=(value) @success = value end |
#transactions ⇒ Object
Returns the value of attribute transactions.
8 9 10 |
# File 'lib/vaulted_billing/gateway.rb', line 8 def transactions @transactions end |
Instance Method Details
#connection_error? ⇒ Boolean
12 |
# File 'lib/vaulted_billing/gateway.rb', line 12 def connection_error?; @connection_error; end |
#success? ⇒ Boolean
11 |
# File 'lib/vaulted_billing/gateway.rb', line 11 def success?; @success; end |