class Tinypass::Config
Constants
- CONTEXT
- COOKIE_PREFIX
- COOKIE_SUFFIX
- MSG_VERSION
- REST_CONTEXT
- VERSION
Attributes
aid[RW]
private_key[RW]
sandbox[RW]
Public Class Methods
app_prefix(aid)
click to toggle source
# File lib/tinypass.rb, line 34 def self.app_prefix(aid) COOKIE_PREFIX + aid end
endpoint()
click to toggle source
# File lib/tinypass.rb, line 42 def self.endpoint return Tinypass::API_ENDPOINT_DEV if defined?(Tinypass::API_ENDPOINT_DEV) Tinypass.sandbox ? Tinypass::API_ENDPOINT_SANDBOX : Tinypass::API_ENDPOINT_PROD end