class Podio::ConditionSet
Public Class Methods
create(attributes)
click to toggle source
# File lib/podio/models/condition_set.rb, line 21 def create(attributes) member Podio.connection.post { |req| req.url("/condition_set/") req.body = attributes }.body end
delete(condition_set_id)
click to toggle source
# File lib/podio/models/condition_set.rb, line 35 def delete(condition_set_id) Podio.connection.delete("/condition_set/#{condition_set_id}") end
find(condition_set_id)
click to toggle source
# File lib/podio/models/condition_set.rb, line 17 def find(condition_set_id) member Podio.connection.get("/condition_set/#{condition_set_id}").body end
find_all(options={})
click to toggle source
# File lib/podio/models/condition_set.rb, line 11 def find_all(options={}) list Podio.connection.get { |req| req.url("/condition_set/", options) }.body end
update(condition_set_id, attributes)
click to toggle source
# File lib/podio/models/condition_set.rb, line 28 def update(condition_set_id, attributes) member Podio.connection.put { |req| req.url("/condition_set/#{condition_set_id}") req.body = attributes }.body end