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.
17 18 19 20 |
# File 'lib/aavimeodl/AVD.rb', line 17 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.
15 16 17 |
# File 'lib/aavimeodl/AVD.rb', line 15 def links @links end |