Class: KktixEvent::Event
- Inherits:
-
Object
- Object
- KktixEvent::Event
- Defined in:
- lib/kktix-api/event.rb
Overview
Single event on organiztion’s feed
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#published ⇒ Object
readonly
Returns the value of attribute published.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(event_data) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(event_data) ⇒ Event
Returns a new instance of Event.
9 10 11 |
# File 'lib/kktix-api/event.rb', line 9 def initialize(event_data) load_data(event_data) end |
Instance Attribute Details
#author ⇒ Object (readonly)
Returns the value of attribute author.
7 8 9 |
# File 'lib/kktix-api/event.rb', line 7 def @author end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
7 8 9 |
# File 'lib/kktix-api/event.rb', line 7 def content @content end |
#published ⇒ Object (readonly)
Returns the value of attribute published.
7 8 9 |
# File 'lib/kktix-api/event.rb', line 7 def published @published end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
7 8 9 |
# File 'lib/kktix-api/event.rb', line 7 def summary @summary end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
7 8 9 |
# File 'lib/kktix-api/event.rb', line 7 def title @title end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
7 8 9 |
# File 'lib/kktix-api/event.rb', line 7 def url @url end |