Class: Ey::Core::Client::Users

Inherits:
Ey::Core::Collection show all
Defined in:
lib/vendor/core/ey-core/collections/users.rb

Instance Method Summary collapse

Methods inherited from Ey::Core::Collection

#==, #all, #collection_request, #collection_root, #create!, #each_entry, #each_page, #first, #get, #get!, #last_page, #load, #model_request, #model_root, #new_page, #next_page, #one, #page_parameters, #perform_get, #previous_page

Instance Method Details

#currentObject



9
10
11
# File 'lib/vendor/core/ey-core/collections/users.rb', line 9

def current
  new(connection.get_current_user.body["user"])
end