Sha256: a13a76747edca33125b24ed20f2f554e677a056cb03052fc0ee40d793b9a8ebe

Contents?: true

Size: 538 Bytes

Versions: 12

Compression:

Stored size: 538 Bytes

Contents

require 'fog/core/collection'
require 'fog/google/models/compute/http_health_check'

module Fog
  module Compute
    class Google
      class HttpHealthChecks < Fog::Collection
        model Fog::Compute::Google::HttpHealthCheck

        def all(filters={})
          data = service.list_http_health_checks.body['items'] || []
          load(data)
        end

        def get(identity)
          response = service.get_http_health_check(identity)
          new(response.body) unless response.nil?
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/google/models/compute/http_health_checks.rb
ns-fog-1.22.11 lib/fog/google/models/compute/http_health_checks.rb
ns-fog-1.22.10 lib/fog/google/models/compute/http_health_checks.rb
ns-fog-1.22.9 lib/fog/google/models/compute/http_health_checks.rb
ns-fog-1.22.8 lib/fog/google/models/compute/http_health_checks.rb
ns-fog-1.22.7 lib/fog/google/models/compute/http_health_checks.rb
ns-fog-1.22.6 lib/fog/google/models/compute/http_health_checks.rb
fog-1.23.0 lib/fog/google/models/compute/http_health_checks.rb
ns-fog-1.22.4 lib/fog/google/models/compute/http_health_checks.rb
ns-fog-1.22.3 lib/fog/google/models/compute/http_health_checks.rb
ns-fog-1.22.2 lib/fog/google/models/compute/http_health_checks.rb
fog-1.22.1 lib/fog/google/models/compute/http_health_checks.rb