Class: Netaxept::Responses::RegisterResponse
- Defined in:
- lib/netaxept/responses/register_response.rb
Instance Attribute Summary collapse
-
#transaction_id ⇒ Object
readonly
Returns the value of attribute transaction_id.
Attributes inherited from Response
Instance Method Summary collapse
-
#initialize(node) ⇒ RegisterResponse
constructor
A new instance of RegisterResponse.
Methods inherited from Response
Constructor Details
#initialize(node) ⇒ RegisterResponse
Returns a new instance of RegisterResponse.
8 9 10 11 12 13 |
# File 'lib/netaxept/responses/register_response.rb', line 8 def initialize(node) super(node) if(success?) @transaction_id = node["RegisterResponse"]["TransactionId"] end end |
Instance Attribute Details
#transaction_id ⇒ Object (readonly)
Returns the value of attribute transaction_id.
6 7 8 |
# File 'lib/netaxept/responses/register_response.rb', line 6 def transaction_id @transaction_id end |