Class: CoachZed::FeedReader::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/coach_zed/feed_reader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dateObject (readonly)

Returns the value of attribute date.



8
9
10
# File 'lib/coach_zed/feed_reader.rb', line 8

def date
  @date
end

#descriptionObject (readonly)

Returns the value of attribute description.



8
9
10
# File 'lib/coach_zed/feed_reader.rb', line 8

def description
  @description
end

#summaryObject (readonly)

Returns the value of attribute summary.



8
9
10
# File 'lib/coach_zed/feed_reader.rb', line 8

def summary
  @summary
end