Class: Almanack::EventSource::IcalFeed
- Inherits:
-
Object
- Object
- Almanack::EventSource::IcalFeed
- Extended by:
- Forwardable
- Defined in:
- lib/almanack/event_source/ical_feed.rb
Instance Attribute Summary collapse
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
-
#ical ⇒ Object
readonly
Returns the value of attribute ical.
Instance Method Summary collapse
-
#initialize(url, connection:) ⇒ IcalFeed
constructor
A new instance of IcalFeed.
Constructor Details
#initialize(url, connection:) ⇒ IcalFeed
Returns a new instance of IcalFeed.
10 11 12 13 |
# File 'lib/almanack/event_source/ical_feed.rb', line 10 def initialize(url, connection:) @url = url @connection = connection end |
Instance Attribute Details
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
6 7 8 |
# File 'lib/almanack/event_source/ical_feed.rb', line 6 def connection @connection end |
#ical ⇒ Object (readonly)
Returns the value of attribute ical.
6 7 8 |
# File 'lib/almanack/event_source/ical_feed.rb', line 6 def ical @ical end |