mirror of
https://github.com/samsonjs/simple_oauth.git
synced 2026-03-25 08:45:54 +00:00
Add the SimpleOAuth::Version module.
This commit is contained in:
parent
9651c1b8f3
commit
1f519dd45a
1 changed files with 7 additions and 0 deletions
|
|
@ -4,6 +4,13 @@ require 'openssl'
|
|||
require 'uri'
|
||||
|
||||
module SimpleOAuth
|
||||
module Version
|
||||
MAJOR = 0
|
||||
MINOR = 1
|
||||
PATCH = 0
|
||||
STRING = [MAJOR, MINOR, PATCH].join('.')
|
||||
end
|
||||
|
||||
class Header
|
||||
ATTRIBUTE_KEYS = [:consumer_key, :nonce, :signature, :signature_method, :timestamp, :token, :version]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue