class Mypeople::Member

Public Class Methods

find(buddy_id) click to toggle source
# File lib/mypeople/member.rb, line 4
def find(buddy_id)
  client.buddy_profile(buddy_id)
end
send(buddy_id, content) click to toggle source
# File lib/mypeople/member.rb, line 8
def send(buddy_id, content)
  if content.is_a?(String) # string msg
    client.send_message_to_buddy(buddy_id, content)
  else # file msg
    client.send_message_to_buddy(buddy_id, "", content)
  end
end