Class: TrackerApi::Resources::Review
Defined Under Namespace
Classes: UpdateRepresenter
Instance Method Summary
collapse
included
Instance Method Details
28
29
30
31
32
|
# File 'lib/tracker_api/resources/review.rb', line 28
def save
raise ArgumentError, 'Cannot update a review with an unknown story_id.' if story_id.nil?
Endpoints::Review.new(client).update(self, UpdateRepresenter.new(Review.new(dirty_attributes)))
end
|