module STAC::Extensions::ScientificCitation::Properties
Attributes
extra[R]
Public Instance Methods
sci_citation()
click to toggle source
# File lib/stac/extensions/scientific_citation.rb, line 29 def sci_citation extra['sci:citation'] end
sci_citation=(citation)
click to toggle source
# File lib/stac/extensions/scientific_citation.rb, line 33 def sci_citation=(citation) extra['sci:citation'] = citation end
sci_doi()
click to toggle source
# File lib/stac/extensions/scientific_citation.rb, line 21 def sci_doi extra['sci:doi'] end
sci_doi=(doi)
click to toggle source
# File lib/stac/extensions/scientific_citation.rb, line 25 def sci_doi=(doi) extra['sci:doi'] = doi end
sci_publications()
click to toggle source
# File lib/stac/extensions/scientific_citation.rb, line 37 def sci_publications extra.fetch('sci:publications', []).map { |hash| Publication.new(hash) } end
sci_publications=(publications)
click to toggle source
# File lib/stac/extensions/scientific_citation.rb, line 41 def sci_publications=(publications) extra['sci:publications'] = publications.map(&:to_h) end