Method: Gemstash::Cache#set_authorization

Defined in:
lib/gemstash/cache.rb

#set_authorization(auth_key, value) ⇒ Object



23
24
25
# File 'lib/gemstash/cache.rb', line 23

def set_authorization(auth_key, value)
  @client.set("auths/#{auth_key}", value, EXPIRY)
end