Class: FreeAgent::Project
- Defined in:
- lib/free_agent/project.rb
Overview
Represents a Project in FreeAgent.
Instance Method Summary collapse
-
#invoices(options = {}) ⇒ Array<FreeAgent::Invoice>
Gets all the invoices associated to this project.
Methods inherited from Base
Instance Method Details
#invoices(options = {}) ⇒ Array<FreeAgent::Invoice>
Gets all the invoices associated to this project.
20 21 22 23 |
# File 'lib/free_agent/project.rb', line 20 def invoices(*args) = args. Invoice.all(.merge!(:from => "/projects/#{id}/invoices.xml")) end |