Method: ActionNetworkRest::Petitions#update
- Defined in:
- lib/action_network_rest/petitions.rb
#update(id, petition_data) ⇒ Object
33 34 35 36 37 |
# File 'lib/action_network_rest/petitions.rb', line 33 def update(id, petition_data) petition_path = "#{base_path}#{url_escape(id)}" response = client.put_request petition_path, petition_data object_from_response(response) end |