class TrackerApi::Resources::Task
Public Instance Methods
save()
click to toggle source
# File lib/tracker_api/resources/task.rb, line 26 def save raise ArgumentError, 'Cannot update a task with an unknown project_id.' if project_id.nil? raise ArgumentError, 'Cannot update a task with an unknown story_id.' if story_id.nil? Endpoints::Task.new(client).update(self, UpdateRepresenter.new(Task.new(self.dirty_attributes))) end