Class: SnapAPIClient::Resources::Effort

Inherits:
Base
  • Object
show all
Defined in:
lib/snap_api_client/resources/effort.rb

Instance Attribute Summary

Attributes inherited from Base

#transport

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from SnapAPIClient::Resources::Base

Instance Method Details

#update_review_url(id, url) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/snap_api_client/resources/effort.rb', line 6

def update_review_url(id, url)
  transport.patch("/efforts/#{id}/review", {
                    effort: {
                      review_url: url
                    }
                  })
end