You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: group_deploy_token.rb
    path of file: ./repos/gitlabhq/qa/qa/resource
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module QA
  module Resource
    class GroupDeployToken < Base
      attr_accessor :name, :expires_at
      attr_writer :scopes

      attribute :id
      attribute :token
      attribute :username

      attribute :group do
        Group.fabricate! do |resource|
          resource.name = 'group-with-deploy-
    
      def resource_web_url(resource)
        super
      rescue ResourceURLMissingError
        # this particular resource does not expose a web_url property
      end

      def fabricate!
        group.visit!

        Page::Group::Menu.perform(&:go_to_repository_settings)

        Page::Group::Settings::Repository.perform do |setting|
          setting.expand_deploy_tokens do |page|
            page.fill_token_name(name)
            page.fill_token_expires_at(expires_at)
            page.fill_scopes(@scopes)

            page.add_token
          end
        end
      end
    end