Class: DownloadIssueData
- Inherits:
-
Object
- Object
- DownloadIssueData
- Defined in:
- lib/jirametrics/downloader.rb
Instance Attribute Summary collapse
-
#cache_path ⇒ Object
Returns the value of attribute cache_path.
-
#found_in_primary_query ⇒ Object
Returns the value of attribute found_in_primary_query.
-
#issue ⇒ Object
Returns the value of attribute issue.
-
#key ⇒ Object
Returns the value of attribute key.
-
#last_modified ⇒ Object
Returns the value of attribute last_modified.
-
#up_to_date ⇒ Object
Returns the value of attribute up_to_date.
Instance Method Summary collapse
-
#initialize(key:, found_in_primary_query: true, last_modified: nil, up_to_date: true, cache_path: nil, issue: nil) ⇒ DownloadIssueData
constructor
A new instance of DownloadIssueData.
Constructor Details
#initialize(key:, found_in_primary_query: true, last_modified: nil, up_to_date: true, cache_path: nil, issue: nil) ⇒ DownloadIssueData
Returns a new instance of DownloadIssueData.
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# File 'lib/jirametrics/downloader.rb', line 10 def initialize( key:, found_in_primary_query: true, last_modified: nil, up_to_date: true, cache_path: nil, issue: nil ) @key = key @found_in_primary_query = found_in_primary_query @last_modified = last_modified @up_to_date = up_to_date @cache_path = cache_path @issue = issue end |
Instance Attribute Details
#cache_path ⇒ Object
Returns the value of attribute cache_path.
7 8 9 |
# File 'lib/jirametrics/downloader.rb', line 7 def cache_path @cache_path end |
#found_in_primary_query ⇒ Object
Returns the value of attribute found_in_primary_query.
7 8 9 |
# File 'lib/jirametrics/downloader.rb', line 7 def found_in_primary_query @found_in_primary_query end |
#issue ⇒ Object
Returns the value of attribute issue.
7 8 9 |
# File 'lib/jirametrics/downloader.rb', line 7 def issue @issue end |
#key ⇒ Object
Returns the value of attribute key.
7 8 9 |
# File 'lib/jirametrics/downloader.rb', line 7 def key @key end |
#last_modified ⇒ Object
Returns the value of attribute last_modified.
7 8 9 |
# File 'lib/jirametrics/downloader.rb', line 7 def last_modified @last_modified end |
#up_to_date ⇒ Object
Returns the value of attribute up_to_date.
7 8 9 |
# File 'lib/jirametrics/downloader.rb', line 7 def up_to_date @up_to_date end |