Class: DataKitten::Rights
- Inherits:
-
Object
- Object
- DataKitten::Rights
- Defined in:
- lib/data_kitten/rights.rb
Overview
A rights statement for a Dataset or Distribution
Instance Attribute Summary collapse
-
#attributionText ⇒ String
The attribution text for the dataset.
-
#attributionURL ⇒ String
The attribution URL for the dataset.
-
#contentLicense ⇒ String
The license for the content in the dataset.
-
#copyrightHolder ⇒ String
The URI of the organization that holds copyright for this dataset.
-
#copyrightNotice ⇒ String
The copyright notice for the dataset.
-
#copyrightStatement ⇒ String
The URL of a copyright statement for the dataset.
-
#copyrightYear ⇒ String
The year in which copyright is claimed.
-
#databaseRightHolder ⇒ String
The URI of the organization that owns the database rights for this dataset.
-
#databaseRightStatement ⇒ String
The URL of a database right statement for the dataset.
-
#databaseRightYear ⇒ String
The year in which copyright is claimed.
-
#dataLicense ⇒ String
The license for the data in the dataset.
-
#uri ⇒ String
The URI for the rights statement.
Instance Method Summary collapse
-
#initialize(options) ⇒ Rights
constructor
Create a new Rights object.
Constructor Details
#initialize(options) ⇒ Rights
Create a new Rights object.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/data_kitten/rights.rb', line 63 def initialize() @uri = [:uri] @dataLicense = [:dataLicense] @contentLicense = [:contentLicense] @copyrightNotice = [:copyrightNotice] @attributionURL = [:attributionURL] @attributionText = [:attributionText] @copyrightHolder = [:copyrightHolder] @databaseRightHolder = [:databaseRightHolder] @copyrightYear = [:copyrightYear] @databaseRightYear = [:databaseRightYear] @copyrightStatement = [:copyrightStatement] @databaseRightStatement = [:databaseRightStatement] end |
Instance Attribute Details
#attributionText ⇒ String
Returns the attribution text for the dataset.
29 30 31 |
# File 'lib/data_kitten/rights.rb', line 29 def attributionText @attributionText end |
#attributionURL ⇒ String
Returns the attribution URL for the dataset.
25 26 27 |
# File 'lib/data_kitten/rights.rb', line 25 def attributionURL @attributionURL end |
#contentLicense ⇒ String
Returns the license for the content in the dataset.
17 18 19 |
# File 'lib/data_kitten/rights.rb', line 17 def contentLicense @contentLicense end |
#copyrightHolder ⇒ String
Returns the URI of the organization that holds copyright for this dataset.
33 34 35 |
# File 'lib/data_kitten/rights.rb', line 33 def copyrightHolder @copyrightHolder end |
#copyrightNotice ⇒ String
Returns the copyright notice for the dataset.
21 22 23 |
# File 'lib/data_kitten/rights.rb', line 21 def copyrightNotice @copyrightNotice end |
#copyrightStatement ⇒ String
Returns the URL of a copyright statement for the dataset.
49 50 51 |
# File 'lib/data_kitten/rights.rb', line 49 def copyrightStatement @copyrightStatement end |
#copyrightYear ⇒ String
Returns the year in which copyright is claimed.
41 42 43 |
# File 'lib/data_kitten/rights.rb', line 41 def copyrightYear @copyrightYear end |
#databaseRightHolder ⇒ String
Returns the URI of the organization that owns the database rights for this dataset.
37 38 39 |
# File 'lib/data_kitten/rights.rb', line 37 def databaseRightHolder @databaseRightHolder end |
#databaseRightStatement ⇒ String
Returns the URL of a database right statement for the dataset.
53 54 55 |
# File 'lib/data_kitten/rights.rb', line 53 def databaseRightStatement @databaseRightStatement end |
#databaseRightYear ⇒ String
Returns the year in which copyright is claimed.
45 46 47 |
# File 'lib/data_kitten/rights.rb', line 45 def databaseRightYear @databaseRightYear end |
#dataLicense ⇒ String
Returns the license for the data in the dataset.
13 14 15 |
# File 'lib/data_kitten/rights.rb', line 13 def dataLicense @dataLicense end |
#uri ⇒ String
Returns the URI for the rights statement.
9 10 11 |
# File 'lib/data_kitten/rights.rb', line 9 def uri @uri end |