class Podio::LinkedAccount
Public Class Methods
create(attributes)
click to toggle source
# File lib/podio/models/linked_account.rb, line 20 def create(attributes) response = Podio.connection.post do |req| req.url '/linked_account/' req.body = attributes end member response.body end
delete(id)
click to toggle source
# File lib/podio/models/linked_account.rb, line 29 def delete(id) Podio.connection.delete("/linked_account/#{id}").status end
find_all(options = {})
click to toggle source
# File lib/podio/models/linked_account.rb, line 14 def find_all(options = {}) list Podio.connection.get { |req| req.url("/linked_account/", options) }.body end
update_options(id, attributes)
click to toggle source
# File lib/podio/models/linked_account.rb, line 33 def update_options(id, attributes) Podio.connection.put do |req| req.url "/linked_account/#{id}/options" req.body = attributes end end