Sha256: 9e98293213678c8c3117d749d8a6680005c34bf0c6d5bfc26ce52b4c3f6810c1
Contents?: true
Size: 857 Bytes
Versions: 4
Compression:
Stored size: 857 Bytes
Contents
class MockPullRequest < GitReflow::GitServer::PullRequest DESCRIPTION = "Bingo! Unity." HTML_URL = "https://github.com/reenhanced/gitreflow/pulls/0" FEATURE_BRANCH_NAME = "feature_branch" BASE_BRANCH_NAME = "base" NUMBER = 0 def initialize(attributes = Struct.new(:description, :html_url, :feature_branch_name, :base_branch_name, :number).new) self.description = attributes.description || DESCRIPTION self.html_url = attributes.html_url || HTML_URL self.feature_branch_name = attributes.feature_branch_name || FEATURE_BRANCH_NAME self.base_branch_name = attributes.base_branch_name || BASE_BRANCH_NAME self.build = Build.new self.number = attributes.number || NUMBER self.source_object = attributes end end
Version data entries
4 entries across 4 versions & 1 rubygems