From d8e08c5f8ae960fff0a67a8b81b615529eae851b Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Tue, 23 Sep 2014 23:32:10 +0200 Subject: [PATCH] Add :consumer_secret and :token_secret to ATTRIBUTE_KEYS --- lib/simple_oauth/header.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simple_oauth/header.rb b/lib/simple_oauth/header.rb index 25d4d1a..2934940 100644 --- a/lib/simple_oauth/header.rb +++ b/lib/simple_oauth/header.rb @@ -5,7 +5,7 @@ module SimpleOAuth class Header - ATTRIBUTE_KEYS = [:callback, :consumer_key, :nonce, :signature_method, :timestamp, :token, :verifier, :version] unless defined? ::SimpleOAuth::Header::ATTRIBUTE_KEYS + ATTRIBUTE_KEYS = [:callback, :consumer_key, :consumer_secret, :nonce, :signature_method, :timestamp, :token, :token_secret, :verifier, :version] attr_reader :method, :params, :options class << self