Sha256: 429b70dc5b5ccc5c31f47533d9d93b1fe910f7e335dabbb97797d121addebe68

Contents?: true

Size: 445 Bytes

Versions: 14

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

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-0.6.0 lib/fog/google/models/sql/flags.rb
fog-google-0.5.5 lib/fog/google/models/sql/flags.rb
fog-google-0.5.4 lib/fog/google/models/sql/flags.rb
fog-google-0.5.3 lib/fog/google/models/sql/flags.rb
fog-google-0.5.2 lib/fog/google/models/sql/flags.rb
fog-google-0.5.1 lib/fog/google/models/sql/flags.rb
fog-google-0.5.0 lib/fog/google/models/sql/flags.rb
fog-google-0.4.2 lib/fog/google/models/sql/flags.rb
fog-google-0.4.1 lib/fog/google/models/sql/flags.rb
fog-google-0.4.0 lib/fog/google/models/sql/flags.rb
fog-google-0.3.2 lib/fog/google/models/sql/flags.rb
fog-google-0.3.1 lib/fog/google/models/sql/flags.rb
fog-google-0.3.0 lib/fog/google/models/sql/flags.rb
fog-google-0.2.0 lib/fog/google/models/sql/flags.rb