Sha256: 1632d072d189c7910ddc5317fcc9636d9195f4843c5139d7a77d95bca0cc6740

Contents?: true

Size: 241 Bytes

Versions: 15

Compression:

Stored size: 241 Bytes

Contents

module MotherBrain::API
  class V1
    class ConfigEndpoint < MB::API::Endpoint
      helpers MB::Mixin::Services

      desc "display the loaded configuration"
      get 'config' do
        config_manager.config
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
motherbrain-1.5.0 lib/mb/api/v1/config_endpoint.rb
motherbrain-1.4.0 lib/mb/api/v1/config_endpoint.rb
motherbrain-1.3.0 lib/mb/api/v1/config_endpoint.rb
motherbrain-1.2.1 lib/mb/api/v1/config_endpoint.rb
motherbrain-1.2.0 lib/mb/api/v1/config_endpoint.rb
motherbrain-1.1.3 lib/mb/api/v1/config_endpoint.rb
motherbrain-1.1.2 lib/mb/api/v1/config_endpoint.rb
motherbrain-1.1.1 lib/mb/api/v1/config_endpoint.rb
motherbrain-1.1.0 lib/mb/api/v1/config_endpoint.rb
motherbrain-1.0.0 lib/mb/api/v1/config_endpoint.rb
motherbrain-0.14.5 lib/mb/api/v1/config_endpoint.rb
motherbrain-0.14.4 lib/mb/api/v1/config_endpoint.rb
motherbrain-0.14.3 lib/mb/api/v1/config_endpoint.rb
motherbrain-0.14.2 lib/mb/api/v1/config_endpoint.rb
motherbrain-0.13.1 lib/mb/api/v1/config_endpoint.rb