Skip to content

Commit

Permalink
Merge pull request #57 from murgatroid99/lowercase_authorization
Browse files Browse the repository at this point in the history
Use lowercase :authorization for metadata key
  • Loading branch information
tbetbetbe committed Jan 6, 2016
2 parents 642a70f + 6991904 commit c3accec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/googleauth/signet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
module Signet
# OAuth2 supports OAuth2 authentication.
module OAuth2
AUTH_METADATA_KEY = :Authorization
AUTH_METADATA_KEY = :authorization
# Signet::OAuth2::Client creates an OAuth2 client
#
# This reopens Client to add #apply and #apply! methods which update a
Expand Down
2 changes: 1 addition & 1 deletion spec/googleauth/apply_auth_examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
require 'spec_helper'

shared_examples 'apply/apply! are OK' do
let(:auth_key) { :Authorization }
let(:auth_key) { :authorization }

# tests that use these examples need to define
#
Expand Down

0 comments on commit c3accec

Please sign in to comment.