Class: Tripletexer::Endpoints::Project
- Inherits:
-
AbstractEndpoint
- Object
- AbstractEndpoint
- Tripletexer::Endpoints::Project
- Defined in:
- lib/tripletexer/endpoints/project.rb
Defined Under Namespace
Classes: Category
Instance Method Summary collapse
- #category ⇒ Object
- #find(id, params = {}) ⇒ Object
- #get_for_time_sheet(params = {}) ⇒ Object
- #search(params = {}) ⇒ Object
Methods inherited from AbstractEndpoint
Constructor Details
This class inherits a constructor from Tripletexer::Endpoints::AbstractEndpoint
Instance Method Details
#category ⇒ Object
21 22 23 |
# File 'lib/tripletexer/endpoints/project.rb', line 21 def category Tripletexer::Endpoints::Project::Category.new(api_client) end |
#find(id, params = {}) ⇒ Object
17 18 19 |
# File 'lib/tripletexer/endpoints/project.rb', line 17 def find(id, params = {}) find_entity("/v2/project/#{id}", params) end |
#get_for_time_sheet(params = {}) ⇒ Object
12 13 14 |
# File 'lib/tripletexer/endpoints/project.rb', line 12 def get_for_time_sheet(params = {}) find_entities('/v2/project/>forTimeSheet', params) end |
#search(params = {}) ⇒ Object
7 8 9 |
# File 'lib/tripletexer/endpoints/project.rb', line 7 def search(params = {}) find_entities('/v2/project', params) end |