Class: Freeagent::Base
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Freeagent::Base
- Defined in:
- lib/freeagent_api.rb
Direct Known Subclasses
Contact, Invoice, InvoiceItem, InvoiceTimeline, Project, Task, TaxTimeline, Timeslip, User
Class Method Summary collapse
Class Method Details
.authenticate(options) ⇒ Object
16 17 18 19 20 |
# File 'lib/freeagent_api.rb', line 16 def self.authenticate() self.site = "https://#{[:domain]}" self.user = [:username] self.password = [:password] end |