Class: Rails::Hyperdrive::Tools::DescribeApp

Inherits:
Base
  • Object
show all
Defined in:
lib/rails/hyperdrive/tools/describe_app.rb

Class Method Summary collapse

Methods inherited from Base

respond_error, respond_json, respond_text, with_dev_guard

Class Method Details

.call(server_context: nil) ⇒ Object



13
14
15
16
17
# File 'lib/rails/hyperdrive/tools/describe_app.rb', line 13

def self.call(server_context: nil)
  with_dev_guard do
    respond_json(Rails::Hyperdrive::StackProfile.current.to_h)
  end
end