Class: BankAccountConnector::TextItem
- Inherits:
-
Object
- Object
- BankAccountConnector::TextItem
- Defined in:
- app/lib/bank_account_connector.rb
Instance Attribute Summary collapse
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(text) ⇒ TextItem
constructor
A new instance of TextItem.
- #name ⇒ Object
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
#text ⇒ Object (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
#name ⇒ Object
7 8 9 |
# File 'app/lib/bank_account_connector.rb', line 7 def name nil end |