lib/zenhub_ruby/connection.rb in zenhub_ruby-0.1.1 vs lib/zenhub_ruby/connection.rb in zenhub_ruby-0.2.1
- old
+ new
@@ -19,10 +19,10 @@
@connect_options ||= {
builder: middleware,
headers: {
accept: 'application/json',
user_agent: "ZenhubRuby v#{VERSION}",
- x_authentication_token: access_token
+ x_authentication_token: zenhub_access_token
}
}
end
def middleware