Class: SSC::Handler::Base

Inherits:
Thor
  • Object
show all
Includes:
Helper
Defined in:
lib/handlers/all.rb

Direct Known Subclasses

Client, Appliance, Build, OverlayFile, Package, Repository, Template

Constant Summary collapse

API_URL =
'https://susestudio.com/api/v2/user'

Instance Method Summary collapse

Methods included from Helper

included

Constructor Details

#initialize(*args) ⇒ Base

Returns a new instance of Base.



17
18
19
20
21
22
23
# File 'lib/handlers/all.rb', line 17

def initialize(*args)
  super

  optional_connection_options= filter_options(options, [:timeout, :proxy])
  connect(options.username, options.password, optional_connection_options)
  @not_local= true if options.remote?
end