Sha256: 2af46d2f9a178c8a93e0404c3a2e0aa9c7e13d21040343420e97023f567aac7d

Contents?: true

Size: 812 Bytes

Versions: 14

Compression:

Stored size: 812 Bytes

Contents

# frozen_string_literal: true

module GitlabQuality
  module TestTooling
    module GitlabClient
      class MergeRequestDryClient < MergeRequest
        def find_merge_request
          puts "Finding merge_request_id #{merge_request_iid}"
          puts "project: #{project}"
        end

        def merge_request_changed_files
          puts "Changed files for #{merge_request_iid}"
          []
        end

        def find_note(body:)
          puts "Find note for #{merge_request_iid} with body: #{body}"
        end

        def create_note(note:)
          puts "The following note would have been created with body: #{note}"
        end

        def update_note(id:, note:)
          puts "The following note would have been update id: #{id} with body: #{note}"
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gitlab_quality-test_tooling-1.9.0 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.8.1 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.8.0 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.7.0 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.5.4 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.5.3 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.5.2 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.5.1 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.5.0 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.4.0 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.3.0 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.2.0 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.1.0 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb
gitlab_quality-test_tooling-1.0.0 lib/gitlab_quality/test_tooling/gitlab_client/merge_request_dry_client.rb