Sha256: d1e91faae434c2619cc2d00b330a07c3c9fae583ab029398536c41122c14cdb2

Contents?: true

Size: 410 Bytes

Versions: 14

Compression:

Stored size: 410 Bytes

Contents

module Fog
  module Compute
    class Ecloud
      class Layout < Fog::Ecloud::Model
        identity :href

        attribute :type, :aliases => :Type
        attribute :other_links, :aliases => :Links

        def rows
          @rows = Fog::Compute::Ecloud::Rows.new(:connection => connection, :href => href)
        end

        def id
          href.scan(/\d+/)[0]
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 8 rubygems

Version Path
fog-nirvanix-1.8.2 lib/fog/ecloud/models/compute/layout.rb
fog-nirvanix-1.8.1 lib/fog/ecloud/models/compute/layout.rb
fog-parser-fix-1.6.1 lib/fog/ecloud/models/compute/layout.rb
fog-test-again-1.6.0 lib/fog/ecloud/models/compute/layout.rb
fog-parser-fix-1.6.0 lib/fog/ecloud/models/compute/layout.rb
ey-vendored-backup-3.0.27 vendor/gems/fog/lib/fog/ecloud/models/compute/layout.rb
fog-sgonyea-1.8.1 lib/fog/ecloud/models/compute/layout.rb
fog-1.8.0 lib/fog/ecloud/models/compute/layout.rb
fog-maestrodev-1.7.0.20121114190951 lib/fog/ecloud/models/compute/layout.rb
fog-1.7.0 lib/fog/ecloud/models/compute/layout.rb
fog-1.6.0 lib/fog/ecloud/models/compute/layout.rb
fog-1.5.0 lib/fog/ecloud/models/compute/layout.rb
rackspace-fog-1.4.2 lib/rackspace-fog/ecloud/models/compute/layout.rb
fog-1.4.0 lib/fog/ecloud/models/compute/layout.rb