Class: Netaxept::Responses::RegisterResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/netaxept/responses/register_response.rb

Instance Attribute Summary collapse

Attributes inherited from Response

#errors

Instance Method Summary collapse

Methods inherited from Response

#success?

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_idObject (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