Class: Wesabe::BaseModel
- Inherits:
-
Object
- Object
- Wesabe::BaseModel
- Includes:
- Util
- Defined in:
- lib/wesabe/base_model.rb
Direct Known Subclasses
Account, Credential, Currency, FinancialInstitution, Job, Target, Upload
Instance Attribute Summary collapse
-
#wesabe ⇒ Wesabe
The
Wesabe
instance this model uses.
Instance Method Summary collapse
-
#get(options) ⇒ Object
Requests via GET using the given options.
-
#post(options) ⇒ Object
Requests via POST using the given options.
Methods included from Util
Instance Attribute Details
#wesabe ⇒ Wesabe
The Wesabe
instance this model uses.
6 7 8 |
# File 'lib/wesabe/base_model.rb', line 6 def wesabe @wesabe end |
Instance Method Details
#get(options) ⇒ Object
Requests via GET using the given options.
18 19 20 |
# File 'lib/wesabe/base_model.rb', line 18 def get() wesabe.get() end |
#post(options) ⇒ Object
Requests via POST using the given options.
11 12 13 |
# File 'lib/wesabe/base_model.rb', line 11 def post() wesabe.post() end |