Class: TimestampAPI::Task

Inherits:
Model
  • Object
show all
Defined in:
lib/timestamp_api/models/task.rb

Instance Attribute Summary

Attributes inherited from Model

#json_data

Class Method Summary collapse

Methods inherited from Model

inherited, #initialize

Methods included from ModelDefaultAPIMethods

included

Methods included from ModelRelations

included

Methods included from ModelAttributes

included

Methods included from Utils

#camelize, #camelize_keys

Constructor Details

This class inherits a constructor from TimestampAPI::Model

Class Method Details

.for_project_id(project_id) ⇒ Object



9
10
11
# File 'lib/timestamp_api/models/task.rb', line 9

def self.for_project_id(project_id)
  all(project_id: project_id)
end