Class: Fog::Google::SQL::Tiers

Inherits:
Collection
  • Object
show all
Defined in:
lib/fog/google/models/sql/tiers.rb

Instance Method Summary collapse

Instance Method Details

#allArray<Fog::Google::SQL::Tier>

Lists all available service tiers

Returns:



14
15
16
17
# File 'lib/fog/google/models/sql/tiers.rb', line 14

def all
  data = service.list_tiers.to_h[:items] || []
  load(data)
end