Class: CoachZed::FeedReader::Event
- Inherits:
-
Object
- Object
- CoachZed::FeedReader::Event
- Defined in:
- lib/coach_zed/feed_reader.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
readonly
Returns the value of attribute date.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
Instance Method Summary collapse
-
#initialize(date: nil, summary: nil, description: nil) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(date: nil, summary: nil, description: nil) ⇒ Event
Returns a new instance of Event.
10 11 12 13 14 |
# File 'lib/coach_zed/feed_reader.rb', line 10 def initialize(date: nil, summary: nil, description: nil) @date = date @summary = summary @description = description end |
Instance Attribute Details
#date ⇒ Object (readonly)
Returns the value of attribute date.
8 9 10 |
# File 'lib/coach_zed/feed_reader.rb', line 8 def date @date end |
#description ⇒ Object (readonly)
Returns the value of attribute description.
8 9 10 |
# File 'lib/coach_zed/feed_reader.rb', line 8 def description @description end |
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
8 9 10 |
# File 'lib/coach_zed/feed_reader.rb', line 8 def summary @summary end |