Class: Fog::Compute::Google::HttpHealthChecks
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::Google::HttpHealthChecks
- Defined in:
- lib/fog/google/models/compute/http_health_checks.rb
Instance Method Summary collapse
Instance Method Details
#all(filters = {}) ⇒ Object
12 13 14 15 |
# File 'lib/fog/google/models/compute/http_health_checks.rb', line 12 def all(filters={}) data = service.list_http_health_checks.body['items'] || [] load(data) end |
#get(identity) ⇒ Object
17 18 19 20 |
# File 'lib/fog/google/models/compute/http_health_checks.rb', line 17 def get(identity) response = service.get_http_health_check(identity) new(response.body) unless response.nil? end |