Class: OpenTopo::Catalog
- Inherits:
-
Object
- Object
- OpenTopo::Catalog
- Defined in:
- lib/open_topo/catalog.rb
Instance Attribute Summary collapse
-
#date_created ⇒ Object
readonly
Returns the value of attribute date_created.
-
#full_name ⇒ Object
readonly
Returns the value of attribute full_name.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#temporal_coverage ⇒ Object
readonly
Returns the value of attribute temporal_coverage.
-
#unit ⇒ Object
readonly
Returns the value of attribute unit.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(full_name:, name:, url:, date_created:, temporal_coverage:, unit: "meter") ⇒ Catalog
constructor
A new instance of Catalog.
Constructor Details
#initialize(full_name:, name:, url:, date_created:, temporal_coverage:, unit: "meter") ⇒ Catalog
Returns a new instance of Catalog.
8 9 10 11 12 13 14 15 |
# File 'lib/open_topo/catalog.rb', line 8 def initialize(full_name:, name:, url:, date_created:, temporal_coverage:, unit: "meter") @full_name = full_name @name = name @url = url @date_created = date_created @temporal_coverage = temporal_coverage @unit = unit end |
Instance Attribute Details
#date_created ⇒ Object (readonly)
Returns the value of attribute date_created.
6 7 8 |
# File 'lib/open_topo/catalog.rb', line 6 def date_created @date_created end |
#full_name ⇒ Object (readonly)
Returns the value of attribute full_name.
6 7 8 |
# File 'lib/open_topo/catalog.rb', line 6 def full_name @full_name end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/open_topo/catalog.rb', line 6 def name @name end |
#temporal_coverage ⇒ Object (readonly)
Returns the value of attribute temporal_coverage.
6 7 8 |
# File 'lib/open_topo/catalog.rb', line 6 def temporal_coverage @temporal_coverage end |
#unit ⇒ Object (readonly)
Returns the value of attribute unit.
6 7 8 |
# File 'lib/open_topo/catalog.rb', line 6 def unit @unit end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
6 7 8 |
# File 'lib/open_topo/catalog.rb', line 6 def url @url end |