Class: Evvnt::Event
Overview
Public: Returns events info from the EVVNT 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 /events Create an event.
-
#index ⇒ Object
GET /events List Events.
-
#mine ⇒ Object
GET /events/mine List my events.
-
#ours ⇒ Object
GET /events/ours(/:id) Get events of you and your created users.
-
#show ⇒ Object
GET /events/:event_id Get one event.
-
#update ⇒ Object
PUT /events/:event_id Update an event.
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 /events Create an event
15 |
# File 'lib/evvnt/event.rb', line 15 define_action :create |
#index ⇒ Object
GET /events List Events
7 |
# File 'lib/evvnt/event.rb', line 7 define_action :index |
#mine ⇒ Object
GET /events/mine List my events
27 |
# File 'lib/evvnt/event.rb', line 27 define_action :mine |
#ours ⇒ Object
GET /events/ours(/:id) Get events of you and your created users
23 |
# File 'lib/evvnt/event.rb', line 23 define_action :ours |
#show ⇒ Object
GET /events/:event_id Get one event
11 |
# File 'lib/evvnt/event.rb', line 11 define_action :show |
#update ⇒ Object
PUT /events/:event_id Update an event
19 |
# File 'lib/evvnt/event.rb', line 19 define_action :update |