Class: OpenAccessReporter::Report

Inherits:
Object
  • Object
show all
Defined in:
lib/open_access_reporter/report.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#classificationString?

Returns:

  • (String, nil)


5
6
7
# File 'lib/open_access_reporter/report.rb', line 5

def classification
  @classification
end

#licenseString?

Returns:

  • (String, nil)


8
9
10
# File 'lib/open_access_reporter/report.rb', line 8

def license
  @license
end

#modified_atString

Returns ISO 8601 timestamp.

Returns:

  • (String)

    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

Parameters:

  • value

    the value to set the attribute open to.



13
14
15
# File 'lib/open_access_reporter/report.rb', line 13

def open=(value)
  @open = value
end

#titleString

Returns:

  • (String)


16
17
18
# File 'lib/open_access_reporter/report.rb', line 16

def title
  @title
end

Instance Method Details

#open?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/open_access_reporter/report.rb', line 19

def open?
  @open === true ? true : false
end