Class: CloudParty::Responses::Node::PlanPending
- Inherits:
-
Object
- Object
- CloudParty::Responses::Node::PlanPending
- Defined in:
- lib/cloud_party/responses/nodes/zones/plan_pending.rb
Instance Method Summary collapse
-
#initialize(hsh) ⇒ PlanPending
constructor
A new instance of PlanPending.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(hsh) ⇒ PlanPending
Returns a new instance of PlanPending.
7 8 9 10 11 12 13 14 15 |
# File 'lib/cloud_party/responses/nodes/zones/plan_pending.rb', line 7 def initialize(hsh) if hsh.nil? @list = nil else hsh.each do |name, value| instance_variable_set(:"@#{name}", value) end end end |
Instance Method Details
#inspect ⇒ Object
21 22 23 |
# File 'lib/cloud_party/responses/nodes/zones/plan_pending.rb', line 21 def inspect to_s end |
#to_s ⇒ Object
17 18 19 |
# File 'lib/cloud_party/responses/nodes/zones/plan_pending.rb', line 17 def to_s "#<PlanPending: #{list}>" end |