Module: ThreeScale::Backend::ServiceToken::KeyHelpers

Included in:
ThreeScale::Backend::ServiceToken, ThreeScale::Backend::ServiceToken
Defined in:
lib/3scale/backend/service_token.rb

Instance Method Summary collapse

Instance Method Details

#key(service_token, service_id) ⇒ Object



6
7
8
# File 'lib/3scale/backend/service_token.rb', line 6

def key(service_token, service_id)
  encode_key("service_token/token:#{service_token}/service_id:#{service_id}")
end