Class: Dcmgr::Models::Network
- Defined in:
- lib/dcmgr/models/network.rb
Overview
Network definitions in the DC.
Constant Summary
Constants inherited from BaseNew
Instance Method Summary collapse
Methods inherited from BaseNew
Proxy, dataset, install_data, install_data_hooks, lock!, unlock!
Instance Method Details
#to_hash ⇒ Object
27 28 29 |
# File 'lib/dcmgr/models/network.rb', line 27 def to_hash values.dup.merge({:description=>description.to_s}) end |
#validate ⇒ Object
23 24 25 |
# File 'lib/dcmgr/models/network.rb', line 23 def validate super end |