Class: SecureTrading::Objects::TDSResponse

Inherits:
DataObject
  • Object
show all
Defined in:
lib/secure_trading/objects/tds_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DataObject

#initialize, #to_xml

Constructor Details

This class inherits a constructor from SecureTrading::DataObject

Instance Attribute Details

#enrolledObject

Returns the value of attribute enrolled.



5
6
7
# File 'lib/secure_trading/objects/tds_response.rb', line 5

def enrolled
  @enrolled
end

#mdObject

Returns the value of attribute md.



5
6
7
# File 'lib/secure_trading/objects/tds_response.rb', line 5

def md
  @md
end

#pa_resObject

Returns the value of attribute pa_res.



5
6
7
# File 'lib/secure_trading/objects/tds_response.rb', line 5

def pa_res
  @pa_res
end

Instance Method Details

#to_hashObject



7
8
9
10
11
12
13
# File 'lib/secure_trading/objects/tds_response.rb', line 7

def to_hash
  {
    'Enrolled' => self.enrolled,
    'PaRes' => self.pa_res,
    'MD' => self.md
  }
end