module Youzan
Constants
- CLIENT_ID
- CLIENT_SECRET
- GRANT_TYPE
- KDT_ID
Public Class Methods
redis()
click to toggle source
# File lib/youzan/token_client.rb, line 16 def self.redis # You can reuse existing redis connection and remove this method if require $redis = Redis.new(host: ENV['REDIS_HOST'], port: 6379, db: 2) # use global redis end