Class: Kozo::Providers::HCloud::Provider
- Inherits:
-
Kozo::Provider
- Object
- Kozo::Provider
- Kozo::Providers::HCloud::Provider
- Defined in:
- lib/kozo/providers/hcloud/provider.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
Returns the value of attribute key.
Instance Method Summary collapse
Instance Attribute Details
#key ⇒ Object
Returns the value of attribute key.
9 10 11 |
# File 'lib/kozo/providers/hcloud/provider.rb', line 9 def key @key end |
Instance Method Details
#==(other) ⇒ Object
17 18 19 |
# File 'lib/kozo/providers/hcloud/provider.rb', line 17 def ==(other) key == other.key end |
#setup ⇒ Object
13 14 15 |
# File 'lib/kozo/providers/hcloud/provider.rb', line 13 def setup ::HCloud::Client.connection = ::HCloud::Client.new(access_token: key, logger: Kozo.debug_logger) end |