Class: Cardgate::Ideal::Issuer
- Inherits:
-
Object
- Object
- Cardgate::Ideal::Issuer
- Defined in:
- lib/cardgate/ideal/issuer.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#list ⇒ Object
Returns the value of attribute list.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
- #==(o) ⇒ Object (also: #eql?)
-
#initialize(id, name, list) ⇒ Issuer
constructor
A new instance of Issuer.
Constructor Details
#initialize(id, name, list) ⇒ Issuer
Returns a new instance of Issuer.
9 10 11 12 13 |
# File 'lib/cardgate/ideal/issuer.rb', line 9 def initialize(id, name, list) @id = id @name = name @list = list end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/cardgate/ideal/issuer.rb', line 7 def id @id end |
#list ⇒ Object
Returns the value of attribute list.
7 8 9 |
# File 'lib/cardgate/ideal/issuer.rb', line 7 def list @list end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/cardgate/ideal/issuer.rb', line 7 def name @name end |
Instance Method Details
#==(o) ⇒ Object Also known as: eql?
16 17 18 |
# File 'lib/cardgate/ideal/issuer.rb', line 16 def ==(o) o.class == self.class && o.id == id end |