Skip to content

Commit e3ecf58

Browse files
committed
add header
1 parent c09addd commit e3ecf58

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/pusher/request.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ class Request
88

99
def initialize(client, verb, uri, params, body = nil)
1010
@client, @verb, @uri = client, verb, uri
11-
@head = {}
11+
@head = {
12+
'X-Pusher-Library' => 'pusher-http-ruby ' + "1.2.0.rc2" # TODO deduplicate
13+
}
1214

1315
@body = body
1416
if body

0 commit comments

Comments
 (0)