Class: Almanack::EventSource::IcalFeed

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/almanack/event_source/ical_feed.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#connectionObject (readonly)

Returns the value of attribute connection.



6
7
8
# File 'lib/almanack/event_source/ical_feed.rb', line 6

def connection
  @connection
end

#icalObject (readonly)

Returns the value of attribute ical.



6
7
8
# File 'lib/almanack/event_source/ical_feed.rb', line 6

def ical
  @ical
end