Class: BankCrawlers::Hapoalim::Parser
- Inherits:
-
Struct
- Object
- Struct
- BankCrawlers::Hapoalim::Parser
- Defined in:
- lib/bank_crawlers/hapoalim/parser.rb
Instance Attribute Summary collapse
-
#html ⇒ Object
Returns the value of attribute html.
Instance Method Summary collapse
Instance Attribute Details
#html ⇒ Object
Returns the value of attribute html
5 6 7 |
# File 'lib/bank_crawlers/hapoalim/parser.rb', line 5 def html @html end |
Instance Method Details
#balance ⇒ Object
12 13 14 |
# File 'lib/bank_crawlers/hapoalim/parser.rb', line 12 def balance transactions.last[:balance] end |
#transactions ⇒ Object
6 7 8 9 10 |
# File 'lib/bank_crawlers/hapoalim/parser.rb', line 6 def transactions table.map do |row| parse_row(row) end.compact end |