Sha256: 0cc7263fe1f6054d7b8b34f71c8ee424f1dd1fbd503c3da50c575c73ca5112ee

Contents?: true

Size: 475 Bytes

Versions: 7

Compression:

Stored size: 475 Bytes

Contents

# frozen_string_literal: true

module CloudParty
  module Responses
    module Node
      class PlanPending
        def initialize(hsh)
          if hsh.nil?
            @list = nil
          else
            hsh.each do |name, value|
              instance_variable_set(:"@#{name}", value)
            end
          end
        end

        def to_s
          "#<PlanPending: #{list}>"
        end

        def inspect
          to_s
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cloud_party-0.1.7 lib/cloud_party/responses/nodes/zones/plan_pending.rb
cloud_party-0.1.6 lib/cloud_party/responses/nodes/zones/plan_pending.rb
cloud_party-0.1.5 lib/cloud_party/responses/nodes/zones/plan_pending.rb
cloud_party-0.1.4 lib/cloud_party/responses/nodes/zones/plan_pending.rb
cloud_party-0.1.3 lib/cloud_party/responses/nodes/zones/plan_pending.rb
cloud_party-0.1.2 lib/cloud_party/responses/nodes/zones/plan_pending.rb
cloud_party-0.1.1 lib/cloud_party/responses/nodes/zones/plan_pending.rb