Class: LinkParser
- Inherits:
-
Object
- Object
- LinkParser
- Defined in:
- lib/aavimeodl/AVD.rb
Instance Attribute Summary collapse
-
#links ⇒ Object
readonly
Returns the value of attribute links.
Instance Method Summary collapse
-
#initialize(raw, creds) ⇒ LinkParser
constructor
A new instance of LinkParser.
Constructor Details
#initialize(raw, creds) ⇒ LinkParser
Returns a new instance of LinkParser.
16 17 18 19 |
# File 'lib/aavimeodl/AVD.rb', line 16 def initialize(raw, creds) unparsed_links = narrow_to_week_section(raw.body.dup, creds.day) to_hash(unparsed_links) end |
Instance Attribute Details
#links ⇒ Object (readonly)
Returns the value of attribute links.
14 15 16 |
# File 'lib/aavimeodl/AVD.rb', line 14 def links @links end |