Sha256: e9f65962c7959c26a709242c0bec8ac1020dbc4ad9bc451892c2f6e5cb429041
Contents?: true
Size: 1021 Bytes
Versions: 7
Compression:
Stored size: 1021 Bytes
Contents
module Troo module API class OAuthSettings include Virtus.value_object values do attribute :scheme, Symbol, default: :header attribute :http_method, Symbol, default: :get attribute :timestamp, Integer, default: Time.now.to_i attribute :signature_method, String, default: 'HMAC-SHA1' attribute :nonce, String, default: SecureRandom.hex attribute :scope, String, default: 'read,write,account' attribute :uri, String attribute :request_token_path, String, default: 'https://trello.com/1/OAuthGetRequestToken' attribute :authorize_path, String, default: 'https://trello.com/1/OAuthAuthorizeToken' attribute :access_token_path, String, default: 'https://trello.com/1/OAuthGetAccessToken' end end end end
Version data entries
7 entries across 7 versions & 1 rubygems