Sha256: 948a43403db19a9b5b18785bb34c4924e33ab3261a1e0b7fef4e54d4ac285f8d

Contents?: true

Size: 372 Bytes

Versions: 7

Compression:

Stored size: 372 Bytes

Contents

require 'fog/core/collection'
require 'fog/compute/models/storm_on_demand/template'

module Fog
  module Compute
    class StormOnDemand

      class Templates < Fog::Collection

        model Fog::Compute::StormOnDemand::Template

        def all
          data = connection.list_templates.body['templates']
          load(data)
        end

      end

    end
  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/templates.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/compute/models/storm_on_demand/templates.rb
fog-0.11.0 lib/fog/compute/models/storm_on_demand/templates.rb
fog-0.10.0 lib/fog/compute/models/storm_on_demand/templates.rb
fog4encbs-0.9.0.1 lib/fog/compute/models/storm_on_demand/templates.rb
fog4encbs-0.9.0 lib/fog/compute/models/storm_on_demand/templates.rb
fog-0.9.0 lib/fog/compute/models/storm_on_demand/templates.rb