Class: OpenAccessReporter::Report
- Inherits:
-
Object
- Object
- OpenAccessReporter::Report
- Defined in:
- lib/open_access_reporter/report.rb
Instance Attribute Summary collapse
- #classification ⇒ String?
- #license ⇒ String?
-
#modified_at ⇒ String
ISO 8601 timestamp.
-
#open ⇒ Object
writeonly
Sets the attribute open.
- #title ⇒ String
Instance Method Summary collapse
Instance Attribute Details
#classification ⇒ String?
5 6 7 |
# File 'lib/open_access_reporter/report.rb', line 5 def classification @classification end |
#license ⇒ String?
8 9 10 |
# File 'lib/open_access_reporter/report.rb', line 8 def license @license end |
#modified_at ⇒ String
Returns ISO 8601 timestamp.
11 12 13 |
# File 'lib/open_access_reporter/report.rb', line 11 def modified_at @modified_at end |
#open=(value) ⇒ Object (writeonly)
Sets the attribute open
13 14 15 |
# File 'lib/open_access_reporter/report.rb', line 13 def open=(value) @open = value end |
#title ⇒ String
16 17 18 |
# File 'lib/open_access_reporter/report.rb', line 16 def title @title end |
Instance Method Details
#open? ⇒ Boolean
19 20 21 |
# File 'lib/open_access_reporter/report.rb', line 19 def open? @open === true ? true : false end |