Method: Geet::Git::Repository#create_issue

Defined in:
lib/geet/git/repository.rb

#create_issue(title, description) ⇒ Object



42
43
44
45
46
47
# File 'lib/geet/git/repository.rb', line 42

def create_issue(title, description)
  confirm(LOCAL_ACTION_ON_UPSTREAM_REPOSITORY_MESSAGE) if local_action_on_upstream_repository? && @warnings
  confirm(ACTION_ON_PROTECTED_REPOSITORY_MESSAGE) if action_on_protected_repository? && @warnings

  attempt_provider_call(:Issue, :create, title, description, api_interface)
end