class Feathr::Api::Users

Public Instance Methods

me() click to toggle source
# File lib/feathr/api/users.rb, line 9
def me
  path = api_path + 'me'
  response = client.request(method: :get, path: path) do |data|
    id = data["url"][/\/(\d*)\/$/, 1]
    feathr_object.new(data, id)
  end
end