Merge pull request #57 from murgatroid99/lowercase_authorization
Use lowercase :authorization for metadata key
This commit is contained in:
commit
c3accecfc8
|
@ -32,7 +32,7 @@ require 'signet/oauth_2/client'
|
||||||
module Signet
|
module Signet
|
||||||
# OAuth2 supports OAuth2 authentication.
|
# OAuth2 supports OAuth2 authentication.
|
||||||
module OAuth2
|
module OAuth2
|
||||||
AUTH_METADATA_KEY = :Authorization
|
AUTH_METADATA_KEY = :authorization
|
||||||
# Signet::OAuth2::Client creates an OAuth2 client
|
# Signet::OAuth2::Client creates an OAuth2 client
|
||||||
#
|
#
|
||||||
# This reopens Client to add #apply and #apply! methods which update a
|
# This reopens Client to add #apply and #apply! methods which update a
|
||||||
|
|
|
@ -35,7 +35,7 @@ require 'faraday'
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
shared_examples 'apply/apply! are OK' do
|
shared_examples 'apply/apply! are OK' do
|
||||||
let(:auth_key) { :Authorization }
|
let(:auth_key) { :authorization }
|
||||||
|
|
||||||
# tests that use these examples need to define
|
# tests that use these examples need to define
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue