Class: Pangea::Kubernetes::Architecture::HcloudNetworkResult
- Inherits:
-
Contracts::NetworkResult
- Object
- Contracts::NetworkResult
- Pangea::Kubernetes::Architecture::HcloudNetworkResult
- Defined in:
- lib/pangea/kubernetes/architecture.rb
Overview
Hetzner Cloud-specific NetworkResult with network (not VPC)
Instance Attribute Summary collapse
-
#network ⇒ Object
Returns the value of attribute network.
Instance Method Summary collapse
Instance Attribute Details
#network ⇒ Object
Returns the value of attribute network.
212 213 214 |
# File 'lib/pangea/kubernetes/architecture.rb', line 212 def network @network end |
Instance Method Details
#[](key) ⇒ Object
214 215 216 217 218 219 |
# File 'lib/pangea/kubernetes/architecture.rb', line 214 def [](key) case key.to_sym when :network then network else super end end |
#to_h ⇒ Object
221 222 223 224 225 |
# File 'lib/pangea/kubernetes/architecture.rb', line 221 def to_h hash = super hash[:network] = network if network hash end |