Class: Hps::HpsGiftCard
- Inherits:
-
Object
- Object
- Hps::HpsGiftCard
- Defined in:
- lib/hps/entities/hps_gift_card.rb
Overview
= HpsGiftCard =
===============
Instance Attribute Summary collapse
-
#alias ⇒ Object
Returns the value of attribute alias.
-
#encryption_data ⇒ Object
Returns the value of attribute encryption_data.
-
#number ⇒ Object
Returns the value of attribute number.
-
#pin ⇒ Object
Returns the value of attribute pin.
-
#token_value ⇒ Object
Returns the value of attribute token_value.
-
#track_data ⇒ Object
Returns the value of attribute track_data.
Instance Method Summary collapse
-
#initialize(number = nil) ⇒ HpsGiftCard
constructor
A new instance of HpsGiftCard.
Constructor Details
#initialize(number = nil) ⇒ HpsGiftCard
Returns a new instance of HpsGiftCard.
9 10 11 |
# File 'lib/hps/entities/hps_gift_card.rb', line 9 def initialize(number = nil) self.number = number end |
Instance Attribute Details
#alias ⇒ Object
Returns the value of attribute alias.
6 7 8 |
# File 'lib/hps/entities/hps_gift_card.rb', line 6 def alias @alias end |
#encryption_data ⇒ Object
Returns the value of attribute encryption_data.
6 7 8 |
# File 'lib/hps/entities/hps_gift_card.rb', line 6 def encryption_data @encryption_data end |
#number ⇒ Object
Returns the value of attribute number.
6 7 8 |
# File 'lib/hps/entities/hps_gift_card.rb', line 6 def number @number end |
#pin ⇒ Object
Returns the value of attribute pin.
6 7 8 |
# File 'lib/hps/entities/hps_gift_card.rb', line 6 def pin @pin end |
#token_value ⇒ Object
Returns the value of attribute token_value.
6 7 8 |
# File 'lib/hps/entities/hps_gift_card.rb', line 6 def token_value @token_value end |
#track_data ⇒ Object
Returns the value of attribute track_data.
6 7 8 |
# File 'lib/hps/entities/hps_gift_card.rb', line 6 def track_data @track_data end |