Class: Geera::Executable

Inherits:
Object
  • Object
show all
Defined in:
lib/geera/executable.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config, argv, cmd_opts) ⇒ Executable

Returns a new instance of Executable.



5
6
7
8
# File 'lib/geera/executable.rb', line 5

def initialize config, argv, cmd_opts
  @geera = Geera::Client.new(config['url'])
  @geera.(config['username'], config['password'])
end

Instance Attribute Details

#geeraObject (readonly)

Returns the value of attribute geera.



3
4
5
# File 'lib/geera/executable.rb', line 3

def geera
  @geera
end