module Typetalk::Api::User

Public Instance Methods

get_profile(options={}) click to toggle source
# File lib/typetalk/api/user.rb, line 6
def get_profile(options={})
  options = {token:nil}.merge(options)

  response = connection.get do |req|
    req.url "#{endpoint}/profile"
    req.params[:access_token] = options[:token] || access_token
  end
  parse_response(response)
end