Class: Ossy::Github::Workflow

Inherits:
Client
  • Object
show all
Defined in:
lib/ossy/github/workflow.rb

Constant Summary

Constants inherited from Client

Client::BASE_URL

Instance Method Summary collapse

Methods inherited from Client

#get, #headers, #http, #member, #membership?, #post, #request, #tagger, #user

Instance Method Details

#call(repo, name, payload = {}) ⇒ Object



8
9
10
# File 'lib/ossy/github/workflow.rb', line 8

def call(repo, name, payload = {})
  post("repos/#{repo}/dispatches", event_type: name, client_payload: payload)
end