class Messenger::People
Public Class Methods
new(*args)
click to toggle source
Calls superclass method
# File lib/messenger/people.rb, line 8 def initialize(*args) args = args.flatten(1) unless !args[0].is_a?(Array) super(args) end
Public Instance Methods
my_profile()
click to toggle source
# File lib/messenger/people.rb, line 13 def my_profile profile_json = get build_uri(my_profile_path) Person.new profile_json end
Private Instance Methods
my_profile_path()
click to toggle source
# File lib/messenger/people.rb, line 20 def my_profile_path "/#{@account_id}/my/profile.json" end