Sha256: 794b003ad58532803af0471ae01fbb75277783070a002e2c17fa5e07f1c96b07

Contents?: true

Size: 541 Bytes

Versions: 2

Compression:

Stored size: 541 Bytes

Contents

module Fog
  module Google
    class SQL
      ##
      # Deletes a user from a Cloud SQL instance.
      #
      # @see https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/users/delete

      class Real
        def delete_user(instance_id, host, name)
          @sql.delete_user(@project, instance_id, host, name)
        end
      end

      class Mock
        def delete_user(_instance_id, _host, _name)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fog-google-1.11.0 lib/fog/google/requests/sql/delete_user.rb
fog-google-1.10.0 lib/fog/google/requests/sql/delete_user.rb