class STAC::STACObject

Base class for STAC objects (i.e. Catalog, Collection, and Item).

Public Class Methods

add_extendable(extendable) click to toggle source

Adds the given extension module to .extendables.

# File lib/stac/stac_object.rb, line 32
def self.add_extendable(extendable)
  @@extendables[extendable.identifier] = extendable
  self
end
extendables() click to toggle source

Returns available extension modules.

# File lib/stac/stac_object.rb, line 27
def self.extendables
  @@extendables.values.uniq
end