Class: Ravelin::ThreeDSecure
- Inherits:
-
RavelinObject
- Object
- RavelinObject
- Ravelin::ThreeDSecure
- Defined in:
- lib/ravelin/three_d_secure.rb
Instance Attribute Summary collapse
-
#attempted ⇒ Object
Returns the value of attribute attempted.
-
#end_time ⇒ Object
Returns the value of attribute end_time.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
-
#success ⇒ Object
Returns the value of attribute success.
-
#timed_out ⇒ Object
Returns the value of attribute timed_out.
Instance Method Summary collapse
Methods inherited from RavelinObject
attr_accessor, attr_required, #initialize, required_attributes, #validate
Constructor Details
This class inherits a constructor from Ravelin::RavelinObject
Instance Attribute Details
#attempted ⇒ Object
Returns the value of attribute attempted.
3 4 5 |
# File 'lib/ravelin/three_d_secure.rb', line 3 def attempted @attempted end |
#end_time ⇒ Object
Returns the value of attribute end_time.
3 4 5 |
# File 'lib/ravelin/three_d_secure.rb', line 3 def end_time @end_time end |
#start_time ⇒ Object
Returns the value of attribute start_time.
3 4 5 |
# File 'lib/ravelin/three_d_secure.rb', line 3 def start_time @start_time end |
#success ⇒ Object
Returns the value of attribute success.
3 4 5 |
# File 'lib/ravelin/three_d_secure.rb', line 3 def success @success end |
#timed_out ⇒ Object
Returns the value of attribute timed_out.
3 4 5 |
# File 'lib/ravelin/three_d_secure.rb', line 3 def timed_out @timed_out end |
Instance Method Details
#serializable_hash ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/ravelin/three_d_secure.rb', line 9 def serializable_hash hash = { 'attempted' => boolean(attempted), 'success' => boolean(success), 'timedOut' => boolean(timed_out) } hash['startTime'] = (start_time) if valid?(start_time) hash['endTime'] = (end_time) if valid?(end_time) hash end |