Class: TrelloFlow::PullRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/trello_flow/pull_request.rb

Instance Method Summary collapse

Constructor Details

#initialize(card, from:, target:) ⇒ PullRequest

Returns a new instance of PullRequest.



5
6
7
8
9
# File 'lib/trello_flow/pull_request.rb', line 5

def initialize(card, from:, target:)
  @card = card
  @from = from
  @target = target
end

Instance Method Details

#openObject



11
12
13
# File 'lib/trello_flow/pull_request.rb', line 11

def open
  Cli.open_url url
end