Class: Cardgate::Ideal::Issuer

Inherits:
Object
  • Object
show all
Defined in:
lib/cardgate/ideal/issuer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#idObject

Returns the value of attribute id.



7
8
9
# File 'lib/cardgate/ideal/issuer.rb', line 7

def id
  @id
end

#listObject

Returns the value of attribute list.



7
8
9
# File 'lib/cardgate/ideal/issuer.rb', line 7

def list
  @list
end

#nameObject

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