Class: TimestampAPI::TimeEntry

Inherits:
Model
  • Object
show all
Defined in:
lib/timestamp_api/models/time_entry.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_task_id(task_id) ⇒ Object



12
13
14
# File 'lib/timestamp_api/models/time_entry.rb', line 12

def self.for_task_id(task_id)
  all("$filter" => "TaskId%20eq%20#{task_id}")
end