Sha256: feb708b3ec8788bca0bbbb85db19ceb3077e7ab893951e24331bd72f32e0650e

Contents?: true

Size: 339 Bytes

Versions: 11

Compression:

Stored size: 339 Bytes

Contents

require 'fog/core/collection'

module Fog
  module OracleCloud
    class Java
      class Servers < Fog::Collection

        model Fog::OracleCloud::Java::Server

        def all(service_name)
          data = service.list_servers(service_name).body['servers']
          load(data)
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fog-oraclecloud-0.1.11 lib/fog/oraclecloud/models/java/servers.rb
fog-oraclecloud-0.1.10 lib/fog/oraclecloud/models/java/servers.rb
fog-oraclecloud-0.1.9 lib/fog/oraclecloud/models/java/servers.rb
fog-oraclecloud-0.1.8 lib/fog/oraclecloud/models/java/servers.rb
fog-oraclecloud-0.1.7 lib/fog/oraclecloud/models/java/servers.rb
fog-oraclecloud-0.1.6 lib/fog/oraclecloud/models/java/servers.rb
fog-oraclecloud-0.1.5 lib/fog/oraclecloud/models/java/servers.rb
fog-oraclecloud-0.1.4 lib/fog/oraclecloud/models/java/servers.rb
fog-oraclecloud-0.1.3 lib/fog/oraclecloud/models/java/servers.rb
fog-oraclecloud-0.1.2 lib/fog/oraclecloud/models/java/servers.rb
fog-oraclecloud-0.1.1 lib/fog/oraclecloud/models/java/servers.rb