class Podio::Recurrence
Public Class Methods
delete(ref_type, ref_id)
click to toggle source
@see developers.podio.com/doc/recurrence/delete-recurrence-3349970
# File lib/podio/models/recurrence.rb, line 14 def delete(ref_type, ref_id) Podio.connection.delete("/recurrence/#{ref_type}/#{ref_id}").body end
update(ref_type, ref_id, attributes)
click to toggle source
@see developers.podio.com/doc/recurrence/create-or-update-recurrence-3349957
# File lib/podio/models/recurrence.rb, line 19 def update(ref_type, ref_id, attributes) response = Podio.connection.put do |req| req.url "/recurrence/#{ref_type}/#{ref_id}" req.body = attributes end response.status end