Class: Beaker::Clifloaty

Inherits:
Object
  • Object
show all
Defined in:
lib/beaker/hypervisor/abs.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(service, priority) ⇒ Clifloaty

Returns a new instance of Clifloaty.



14
15
16
17
# File 'lib/beaker/hypervisor/abs.rb', line 14

def initialize(service, priority)
  @service = service #the name of the service you want to use
  @priority = priority
end

Instance Attribute Details

#priorityObject (readonly)

the floaty service needs a ‘cli’ object that would normally represent the flags passed on the command line that object is then “merged” with the floaty config files to add/change options creating a dummy cli here



13
14
15
# File 'lib/beaker/hypervisor/abs.rb', line 13

def priority
  @priority
end

#serviceObject (readonly)

the floaty service needs a ‘cli’ object that would normally represent the flags passed on the command line that object is then “merged” with the floaty config files to add/change options creating a dummy cli here



13
14
15
# File 'lib/beaker/hypervisor/abs.rb', line 13

def service
  @service
end

#tokenObject (readonly)

the floaty service needs a ‘cli’ object that would normally represent the flags passed on the command line that object is then “merged” with the floaty config files to add/change options creating a dummy cli here



13
14
15
# File 'lib/beaker/hypervisor/abs.rb', line 13

def token
  @token
end

#urlObject (readonly)

the floaty service needs a ‘cli’ object that would normally represent the flags passed on the command line that object is then “merged” with the floaty config files to add/change options creating a dummy cli here



13
14
15
# File 'lib/beaker/hypervisor/abs.rb', line 13

def url
  @url
end

#userObject (readonly)

the floaty service needs a ‘cli’ object that would normally represent the flags passed on the command line that object is then “merged” with the floaty config files to add/change options creating a dummy cli here



13
14
15
# File 'lib/beaker/hypervisor/abs.rb', line 13

def user
  @user
end