Class: TestKitchen::Openstack
- Inherits:
-
Object
- Object
- TestKitchen::Openstack
- Includes:
- Chef::Mixin::ParamsValidate
- Defined in:
- lib/test-kitchen/runner/openstack/dsl.rb
Instance Attribute Summary collapse
- #auth_url(arg = nil) ⇒ Object
- #password(arg = nil) ⇒ Object
- #tenant(arg = nil) ⇒ Object
- #username(arg = nil) ⇒ Object
Instance Method Summary collapse
-
#initialize(&block) ⇒ Openstack
constructor
A new instance of Openstack.
Constructor Details
#initialize(&block) ⇒ Openstack
Returns a new instance of Openstack.
9 10 11 |
# File 'lib/test-kitchen/runner/openstack/dsl.rb', line 9 def initialize(&block) instance_eval(&block) if block_given? end |
Instance Attribute Details
#auth_url(arg = nil) ⇒ Object
25 26 27 |
# File 'lib/test-kitchen/runner/openstack/dsl.rb', line 25 def auth_url(arg=nil) set_or_return(:auth_url, arg, {}) end |
#password(arg = nil) ⇒ Object
17 18 19 |
# File 'lib/test-kitchen/runner/openstack/dsl.rb', line 17 def password(arg=nil) set_or_return(:password, arg, {}) end |
#tenant(arg = nil) ⇒ Object
21 22 23 |
# File 'lib/test-kitchen/runner/openstack/dsl.rb', line 21 def tenant(arg=nil) set_or_return(:tenant, arg, {}) end |
#username(arg = nil) ⇒ Object
13 14 15 |
# File 'lib/test-kitchen/runner/openstack/dsl.rb', line 13 def username(arg=nil) set_or_return(:username, arg, {}) end |