Class: BankAccountConnector::TextItem

Inherits:
Object
  • Object
show all
Defined in:
app/lib/bank_account_connector.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(text) ⇒ TextItem

Returns a new instance of TextItem.



3
4
5
# File 'app/lib/bank_account_connector.rb', line 3

def initialize(text)
  @text = text
end

Instance Attribute Details

#textObject (readonly)

Returns the value of attribute text.



11
12
13
# File 'app/lib/bank_account_connector.rb', line 11

def text
  @text
end

Instance Method Details

#nameObject



7
8
9
# File 'app/lib/bank_account_connector.rb', line 7

def name
  nil
end