Class: ECFS::DailyRelease
- Inherits:
-
Object
- Object
- ECFS::DailyRelease
- Defined in:
- lib/ecfs/daily_release.rb
Instance Attribute Summary collapse
-
#docxs ⇒ Object
readonly
Returns the value of attribute docxs.
-
#pdfs ⇒ Object
readonly
Returns the value of attribute pdfs.
-
#txts ⇒ Object
readonly
Returns the value of attribute txts.
Instance Method Summary collapse
-
#initialize(links, query_url) ⇒ DailyRelease
constructor
A new instance of DailyRelease.
Constructor Details
#initialize(links, query_url) ⇒ DailyRelease
Returns a new instance of DailyRelease.
9 10 11 12 13 14 15 |
# File 'lib/ecfs/daily_release.rb', line 9 def initialize(links, query_url) @query_url = query_url @links = links @pdfs = find_links_by_type('pdf') @txts = find_links_by_type('txt') @docxs = find_links_by_type('docx') end |
Instance Attribute Details
#docxs ⇒ Object (readonly)
Returns the value of attribute docxs.
7 8 9 |
# File 'lib/ecfs/daily_release.rb', line 7 def docxs @docxs end |
#pdfs ⇒ Object (readonly)
Returns the value of attribute pdfs.
5 6 7 |
# File 'lib/ecfs/daily_release.rb', line 5 def pdfs @pdfs end |
#txts ⇒ Object (readonly)
Returns the value of attribute txts.
6 7 8 |
# File 'lib/ecfs/daily_release.rb', line 6 def txts @txts end |