Class: Cp8Cli::Ci

Inherits:
Object
  • Object
show all
Defined in:
lib/cp8_cli/ci.rb

Instance Method Summary collapse

Constructor Details

#initialize(branch_name:, repo:) ⇒ Ci

Returns a new instance of Ci.



3
4
5
6
# File 'lib/cp8_cli/ci.rb', line 3

def initialize(branch_name:, repo:)
  @branch_name = branch_name
  @repo = repo
end

Instance Method Details

#openObject



8
9
10
# File 'lib/cp8_cli/ci.rb', line 8

def open
  Command.open_url url
end