Class: CoachZed::FeedReader::Event
- Inherits:
-
Object
- Object
- CoachZed::FeedReader::Event
- Defined in:
- lib/coach_zed/feed_reader.rb,
sig/coach_zed.rbs
Instance Attribute Summary collapse
-
#date ⇒ Date?
readonly
Returns the value of attribute date.
-
#description ⇒ String?
readonly
Returns the value of attribute description.
-
#summary ⇒ String?
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 ⇒ Date? (readonly)
Returns the value of attribute date.
8 9 10 |
# File 'lib/coach_zed/feed_reader.rb', line 8 def date @date end |
#description ⇒ String? (readonly)
Returns the value of attribute description.
8 9 10 |
# File 'lib/coach_zed/feed_reader.rb', line 8 def description @description end |
#summary ⇒ String? (readonly)
Returns the value of attribute summary.
8 9 10 |
# File 'lib/coach_zed/feed_reader.rb', line 8 def summary @summary end |