Sha256: 255916aeb056d317087bea2560b090c58d08e5c385fb09f0f3a1b8e7a5e2089a

Contents?: true

Size: 534 Bytes

Versions: 7

Compression:

Stored size: 534 Bytes

Contents

module Fog
  module Ecloud
    class Compute
      class PublicIp < Fog::Ecloud::Model

        identity :href, :aliases => :Href

        ignore_attributes :xmlns, :xmlns_i

        attribute :name, :aliases => :Name
        attribute :id, :aliases => :Id

        def internet_services
          load_unless_loaded!
          @internet_services ||= Fog::Ecloud::Compute::InternetServices.
            new( :connection => connection,
                 :href => href.to_s + "/internetServices" )
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fog-0.8.2 lib/fog/compute/models/ecloud/public_ip.rb
fog-0.8.1 lib/fog/compute/models/ecloud/public_ip.rb
fog-0.8.0 lib/fog/compute/models/ecloud/public_ip.rb
fog-0.7.2 lib/fog/compute/models/ecloud/public_ip.rb
fog-0.7.1 lib/fog/compute/models/ecloud/public_ip.rb
fog-0.7.0 lib/fog/compute/models/ecloud/public_ip.rb
fog-0.6.0 lib/fog/compute/models/ecloud/public_ip.rb