Class: Clubhouse::Task
Class Method Summary
collapse
Instance Method Summary
collapse
#api_url, #delete!, #flush, inherited, #initialize, property_filter_create, property_filter_update, #resolve_to_ids, #set_properties, subclass, #update, validate, #value_format
Class Method Details
.api_url ⇒ Object
10
11
12
|
# File 'lib/clubhouse2/task.rb', line 10
def self.api_url
'tasks'
end
|
.properties ⇒ Object
3
4
5
6
7
8
|
# File 'lib/clubhouse2/task.rb', line 3
def self.properties
[
:complete, :completed_at, :created_at, :description, :entity_type, :external_id, :id, :mention_ids, :owner_ids,
:position, :story_id, :updated_at
]
end
|
Instance Method Details
#to_h ⇒ Object
14
15
16
|
# File 'lib/clubhouse2/task.rb', line 14
def to_h
super.reject { |k, v| [ :story_id ].include? k }
end
|