Class: Zendesk2::Users
- Inherits:
-
Object
- Object
- Zendesk2::Users
- Includes:
- Collection, PagedCollection, Searchable
- Defined in:
- lib/zendesk2/users.rb
Instance Method Summary collapse
Methods included from Searchable
Methods included from PagedCollection
#all, #all_entries, #collection_method, #collection_root, #create, #create!, #each_entry, #each_page, #get, #get!, included, #model_method, #model_root, #new_page, #next_page, #previous_page
Methods included from Collection
#all, cistern_included, #collection_method, #collection_root, #create, #create!, #get, #get!, included, #model_method, #model_root, #namespace, #new
Instance Method Details
#current ⇒ Object
17 18 19 |
# File 'lib/zendesk2/users.rb', line 17 def current new(cistern.get_current_user.body['user']) end |