Class: TrelloFlow::PullRequest

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

Instance Method Summary collapse

Constructor Details

#initialize(from:, target:, card: nil, **options) ⇒ PullRequest

Returns a new instance of PullRequest.



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

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

Instance Method Details

#openObject



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

def open
  Cli.open_url url
end