Class: VagrantPlugins::Deltacloud::Domain::Subnet
- Defined in:
- lib/vagrant-deltacloud-provider/client/domain.rb
Instance Attribute Summary
Attributes inherited from Item
Instance Method Summary collapse
-
#initialize(id, name) ⇒ Subnet
constructor
A new instance of Subnet.
- #to_s ⇒ Object
Methods inherited from Item
Constructor Details
#initialize(id, name) ⇒ Subnet
Returns a new instance of Subnet.
170 171 172 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 170 def initialize(id, name) super(id, name) end |
Instance Method Details
#to_s ⇒ Object
174 175 176 177 178 179 |
# File 'lib/vagrant-deltacloud-provider/client/domain.rb', line 174 def to_s { id: @id, name: @name }.to_json end |