Class: Evvnt::User
Overview
Fetch EVVNT Users from the API
Constant Summary
Constants included from PathHelpers
Constants included from Attributes
Attributes::DATETIME_STRING_REGEX, Attributes::DATE_STRING_REGEX
Constants included from Api
Constants included from Logging
Instance Attribute Summary
Attributes included from Attributes
Instance Method Summary collapse
-
#create ⇒ Object
POST /users Create a user.
-
#index ⇒ Object
GET /users Get a list of all users created by you.
-
#show ⇒ Object
GET /users/:user_id Get details of a user.
-
#update ⇒ Object
PUT /users/:user_id Update a user.
Methods included from PathHelpers
#resource_name, #singular_resource?
Methods included from Actions
Methods included from Attributes
#initialize, #unique_identifier
Methods included from Persistence
#new_record?, #persisted?, #save
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Evvnt::Attributes
Instance Method Details
#create ⇒ Object
POST /users Create a user
7 |
# File 'lib/evvnt/user.rb', line 7 define_action :create |
#index ⇒ Object
GET /users Get a list of all users created by you
12 |
# File 'lib/evvnt/user.rb', line 12 define_action :index |
#show ⇒ Object
GET /users/:user_id Get details of a user
16 |
# File 'lib/evvnt/user.rb', line 16 define_action :show |
#update ⇒ Object
PUT /users/:user_id Update a user
21 |
# File 'lib/evvnt/user.rb', line 21 define_action :update |