Sha256: aaa4573c8a49599c822f202ca17da1dc51a5569507646d37d0c06933675c231a

Contents?: true

Size: 595 Bytes

Versions: 14

Compression:

Stored size: 595 Bytes

Contents

module Fog
  module Google
    class SQL
      ##
      # Create a new user in a Cloud SQL instance.
      #
      # @see https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/users/insert

      class Real
        def insert_user(instance_id, user)
          @sql.insert_user(@project, instance_id,
                           ::Google::Apis::SqladminV1beta4::User.new(**user))
        end
      end

      class Mock
        def insert_user(_instance_id, _user)
          # :no-coverage:
          Fog::Mock.not_implemented
          # :no-coverage:
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-1.24.1 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.24.0 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.23.0 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.22.0 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.21.1 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.21.0 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.20.0 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.19.0 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.18.0 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.17.0 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.16.1 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.16.0 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.15.0 lib/fog/google/requests/sql/insert_user.rb
fog-google-1.14.0 lib/fog/google/requests/sql/insert_user.rb