class Geoblacklight::Routes::Exportable

Public Class Methods

new(defaults = {}) click to toggle source
# File lib/geoblacklight/routes/exportable.rb, line 6
def initialize(defaults = {})
  @defaults = defaults
end

Public Instance Methods

call(mapper, _options = {}) click to toggle source
# File lib/geoblacklight/routes/exportable.rb, line 10
def call(mapper, _options = {})
  mapper.member do
    mapper.get "web_services"
    mapper.get "metadata"
    mapper.get "relations" => "relation#index"
  end
end