Class: Mondo::Account
Instance Attribute Summary collapse
-
#account_number ⇒ Object
Returns the value of attribute account_number.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#raw_data ⇒ Object
Returns the value of attribute raw_data.
-
#sort_code ⇒ Object
Returns the value of attribute sort_code.
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
boolean_accessor, boolean_reader, date_accessor, date_writer, #initialize, #inspect, #to_s
Constructor Details
This class inherits a constructor from Mondo::Resource
Instance Attribute Details
#account_number ⇒ Object
Returns the value of attribute account_number.
4 5 6 |
# File 'lib/api/mondo/account.rb', line 4 def account_number @account_number end |
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'lib/api/mondo/account.rb', line 4 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/api/mondo/account.rb', line 4 def id @id end |
#raw_data ⇒ Object
Returns the value of attribute raw_data.
4 5 6 |
# File 'lib/api/mondo/account.rb', line 4 def raw_data @raw_data end |
#sort_code ⇒ Object
Returns the value of attribute sort_code.
4 5 6 |
# File 'lib/api/mondo/account.rb', line 4 def sort_code @sort_code end |
Instance Method Details
#balance ⇒ Object
8 9 10 |
# File 'lib/api/mondo/account.rb', line 8 def balance self.client.balance(id) end |