Class: Eventick::Event
Instance Attribute Summary collapse
-
#all ⇒ Object
readonly
Returns the value of attribute all.
-
#attendees(reload = false) ⇒ Object
readonly
instance methods.
-
#id ⇒ Object
Returns the value of attribute id.
-
#slug ⇒ Object
Returns the value of attribute slug.
-
#start_at ⇒ Object
Returns the value of attribute start_at.
-
#tickets ⇒ Object
Returns the value of attribute tickets.
-
#title ⇒ Object
Returns the value of attribute title.
-
#venue ⇒ Object
Returns the value of attribute venue.
Class Method Summary collapse
-
.all ⇒ Object
class methods.
-
.find_by_id(id) ⇒ Object
class methods.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Event
constructor
constructors.
Methods inherited from Base
Constructor Details
Instance Attribute Details
#all ⇒ Object (readonly)
Returns the value of attribute all.
8 9 10 |
# File 'lib/eventick/event.rb', line 8 def all @all end |
#attendees(reload = false) ⇒ Object (readonly)
instance methods
34 35 36 |
# File 'lib/eventick/event.rb', line 34 def attendees @attendees end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/eventick/event.rb', line 7 def id @id end |
#slug ⇒ Object
Returns the value of attribute slug.
7 8 9 |
# File 'lib/eventick/event.rb', line 7 def slug @slug end |
#start_at ⇒ Object
Returns the value of attribute start_at.
7 8 9 |
# File 'lib/eventick/event.rb', line 7 def start_at @start_at end |
#tickets ⇒ Object
Returns the value of attribute tickets.
7 8 9 |
# File 'lib/eventick/event.rb', line 7 def tickets @tickets end |
#title ⇒ Object
Returns the value of attribute title.
7 8 9 |
# File 'lib/eventick/event.rb', line 7 def title @title end |
#venue ⇒ Object
Returns the value of attribute venue.
7 8 9 |
# File 'lib/eventick/event.rb', line 7 def venue @venue end |