class Podio::Contact

@see developers.podio.com/doc/contacts

Public Class Methods

find_external(linked_acc_id, external_contact_id) click to toggle source
# File lib/podio/models/contact.rb, line 24
def find_external(linked_acc_id, external_contact_id)
  member Podio.connection.post { |req|
    req.url "/contact/linked_account/#{linked_acc_id}"
    req.body = { :external_contact_id => external_contact_id }
  }.body
end

Public Instance Methods

update() click to toggle source
# File lib/podio/models/contact.rb, line 19
def update
  self.class.update_contact(self.profile_id, self.attributes)
end