Class: Ruboty::GithubCreateDeployment::Actions::CreateDeployment

Inherits:
Ruboty::Github::Actions::Base
  • Object
show all
Defined in:
lib/ruboty/github_create_deployment/actions/create_deployment.rb

Instance Method Summary collapse

Instance Method Details

#callObject



7
8
9
10
11
12
13
# File 'lib/ruboty/github_create_deployment/actions/create_deployment.rb', line 7

def call
  if has_access_token?
    create
  else
    require_access_token
  end
end