Class: Yao::Cli::Main
- Inherits:
-
Thor
- Object
- Thor
- Yao::Cli::Main
- Defined in:
- lib/yao/cli/main.rb
Instance Method Summary collapse
-
#initialize(*args) ⇒ Main
constructor
A new instance of Main.
- #version(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ Main
Returns a new instance of Main.
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/yao/cli/main.rb', line 6 def initialize(*args) super Yao.configure do auth_url ENV['OS_AUTH_URL'] tenant_name ENV['OS_TENANT_NAME'] username ENV['OS_USERNAME'] password ENV['OS_PASSWORD'] client_cert ENV['OS_CERT'] client_key ENV['OS_KEY'] region_name ENV['OS_REGION_NAME'] end end |