module Croudia::Default
Constants
- CONNECTION_OPTIONS
- ENDPOINT
- MIDDLEWARE
Public Class Methods
access_token()
click to toggle source
# File lib/croudia/default.rb, line 53 def access_token ENV['CROUDIA_ACCESS_TOKEN'] end
client_id()
click to toggle source
# File lib/croudia/default.rb, line 45 def client_id ENV['CROUDIA_CLIENT_ID'] end
client_secret()
click to toggle source
# File lib/croudia/default.rb, line 49 def client_secret ENV['CROUDIA_CLIENT_SECRET'] end
connection_options()
click to toggle source
# File lib/croudia/default.rb, line 61 def connection_options CONNECTION_OPTIONS end
endpoint()
click to toggle source
# File lib/croudia/default.rb, line 57 def endpoint ENDPOINT end
middleware()
click to toggle source
# File lib/croudia/default.rb, line 65 def middleware MIDDLEWARE end
options()
click to toggle source
# File lib/croudia/default.rb, line 39 def options Hash[Croudia::Configurable.keys.map do |key| [key, __send__(key)] end] end