Skip to content

Commit

Permalink
Added icon for chef.
Browse files Browse the repository at this point in the history
  • Loading branch information
kidk committed Feb 21, 2016
1 parent 0cce32e commit db7e8dc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions libraries/coscale.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,13 @@ def self._login(accesstoken, url)
# @param url [string] We create a POST request to this url to create an event
# @return [string] Request if there was an error or the event id if the request succeed
def self._eventpush(name, token, url)
data = {'name' => name,
'description' => '',
'type' => '',
'source' => 'Chef'}
data = {
'name' => name,
'description' => '',
'type' => '',
'source' => 'Chef',
'icon' => 'chef'
}
headers = {'HTTPAuthorization' => token}

uri = URI.parse(url)
Expand Down

0 comments on commit db7e8dc

Please sign in to comment.