Sha256: 4c776d7f51d8438534894ab3baa6b4b96b99fc6f540903cd183f568c27048fa8

Contents?: true

Size: 445 Bytes

Versions: 22

Compression:

Stored size: 445 Bytes

Contents

require 'fog/core/collection'
require 'fog/google/models/sql/flag'

module Fog
  module Google
    class SQL
      class Flags < Fog::Collection
        model Fog::Google::SQL::Flag

        ##
        # List all available database flags
        #
        # @return [Array<Fog::Google::SQL::Flag>] List of flags
        def all
          data = service.list_flags.body['items'] || []
          load(data)
        end
      end
    end
  end
end

Version data entries

22 entries across 20 versions & 5 rubygems

Version Path
nsidc-fog-1.24.1 lib/fog/google/models/sql/flags.rb
fog-1.24.0 lib/fog/google/models/sql/flags.rb