Sha256: fc8be59bff8963d42f6997bf0c716fff2bf957a280e87a6f038a72c76139b05e

Contents?: true

Size: 529 Bytes

Versions: 85

Compression:

Stored size: 529 Bytes

Contents

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

        attribute :name, :aliases => :Name
        attribute :type, :aliases => :Type
        attribute :operating_system_family, :aliases => :OperatingSystems

        def operating_systems
          @operating_systems ||= self.service.operating_systems(:data => operating_system_family[:OperatingSystem])
        end

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

Version data entries

85 entries across 85 versions & 10 rubygems

Version Path
fog-maestrodev-1.15.0.20130927082724 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.15.0 lib/fog/ecloud/models/compute/operating_system_family.rb
gapinc-fog-1.14.0 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.14.0 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.13.0 lib/fog/ecloud/models/compute/operating_system_family.rb
gapinc-fog-1.12.1.2 lib/fog/ecloud/models/compute/operating_system_family.rb
gapinc-fog-1.12.1.1 lib/fog/ecloud/models/compute/operating_system_family.rb
gapinc-fog-1.12.1a lib/fog/ecloud/models/compute/operating_system_family.rb
gapinc-fog-1.12.1 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.12.1 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.12.0 lib/fog/ecloud/models/compute/operating_system_family.rb
hpfog-0.0.20 lib/fog/ecloud/models/compute/operating_system_family.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/ecloud/models/compute/operating_system_family.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.11.1 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.11.0 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.10.1 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-test-me-1.10.0 lib/fog/ecloud/models/compute/operating_system_family.rb