Module: Serverspec::Type
- Defined in:
- lib/serverspec_extended_types/virtualenv.rb,
lib/serverspec_extended_types/bitlbee.rb,
lib/serverspec_extended_types/http_get.rb
Overview
serverspec-extended-types - virtualenv
<github.com/jantman/serverspec-extended-types>
Copyright © 2015 Jason Antman <[email protected]>
Licensed under the MIT License - see LICENSE.txt
Defined Under Namespace
Classes: Bitlbee, Http_Get, Virtualenv
Instance Method Summary collapse
-
#bitlbee(port, nick, password, use_ssl = false) ⇒ Serverspec::Type::Bitlbee
Serverspec Type method for Bitlbee.
-
#http_get(port, host_header, path, timeout_sec = 10, protocol = 'http', bypass_ssl_verify = false) ⇒ Serverspec::Type::Http_Get
ServerSpec Type wrapper for http_get.
-
#virtualenv(name) ⇒ Serverspec::Type::Virtualenv
Serverspec Type wrapper method for Serverspec::Type::Virtualenv.
Instance Method Details
#bitlbee(port, nick, password, use_ssl = false) ⇒ Serverspec::Type::Bitlbee
Serverspec Type method for Bitlbee
198 199 200 |
# File 'lib/serverspec_extended_types/bitlbee.rb', line 198 def bitlbee(port, nick, password, use_ssl=false) Bitlbee.new(port, nick, password, use_ssl) end |
#http_get(port, host_header, path, timeout_sec = 10, protocol = 'http', bypass_ssl_verify = false) ⇒ Serverspec::Type::Http_Get
ServerSpec Type wrapper for http_get
215 216 217 |
# File 'lib/serverspec_extended_types/http_get.rb', line 215 def http_get(port, host_header, path, timeout_sec=10, protocol='http', bypass_ssl_verify=false) Http_Get.new(port, host_header, path, timeout_sec, protocol, bypass_ssl_verify) end |
#virtualenv(name) ⇒ Serverspec::Type::Virtualenv
Serverspec Type wrapper method for Serverspec::Type::Virtualenv
156 157 158 |
# File 'lib/serverspec_extended_types/virtualenv.rb', line 156 def virtualenv(name) Virtualenv.new(name) end |