class HealthCheckCli::Commands::Init
Public Class Methods
new(app)
click to toggle source
# File lib/health_check_cli/commands/init.rb, line 4 def initialize(app) @app = app end
Public Instance Methods
execute(opts = [])
click to toggle source
# File lib/health_check_cli/commands/init.rb, line 8 def execute(opts = []) application_url = opts.shift raise Commands::Error, "No application provided" unless application_url @app.application_url = application_url end