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
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-ecloud-0.1.1/lib/fog/compute/ecloud/models/operating_system_family.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/ecloud/models/compute/operating_system_family.rb
fog-ecloud-0.1.1 lib/fog/compute/ecloud/models/operating_system_family.rb
fog-ecloud-0.1.0 lib/fog/compute/ecloud/models/operating_system_family.rb
fog-ecloud-0.0.2 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-ecloud-0.0.1 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.25.0 lib/fog/ecloud/models/compute/operating_system_family.rb
nsidc-fog-1.24.1 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.24.0 lib/fog/ecloud/models/compute/operating_system_family.rb
ns-fog-1.22.11 lib/fog/ecloud/models/compute/operating_system_family.rb
ns-fog-1.22.10 lib/fog/ecloud/models/compute/operating_system_family.rb
ns-fog-1.22.9 lib/fog/ecloud/models/compute/operating_system_family.rb
ns-fog-1.22.8 lib/fog/ecloud/models/compute/operating_system_family.rb
ns-fog-1.22.7 lib/fog/ecloud/models/compute/operating_system_family.rb
ns-fog-1.22.6 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.23.0 lib/fog/ecloud/models/compute/operating_system_family.rb
ns-fog-1.22.4 lib/fog/ecloud/models/compute/operating_system_family.rb
ns-fog-1.22.3 lib/fog/ecloud/models/compute/operating_system_family.rb
ns-fog-1.22.2 lib/fog/ecloud/models/compute/operating_system_family.rb
fog-1.22.1 lib/fog/ecloud/models/compute/operating_system_family.rb