Class: Geera::Executable
- Inherits:
-
Object
- Object
- Geera::Executable
- Defined in:
- lib/geera/executable.rb
Instance Attribute Summary collapse
-
#geera ⇒ Object
readonly
Returns the value of attribute geera.
Instance Method Summary collapse
-
#initialize(config, argv, cmd_opts) ⇒ Executable
constructor
A new instance of Executable.
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.login(config['username'], config['password']) end |
Instance Attribute Details
#geera ⇒ Object (readonly)
Returns the value of attribute geera.
3 4 5 |
# File 'lib/geera/executable.rb', line 3 def geera @geera end |