module Alephbet
Constants
- VERSION
Attributes
api_key[RW]
cors_allow_headers[RW]
cors_allow_origin[RW]
enable_cors[RW]
Public Class Methods
setup() { |self| ... }
click to toggle source
# File lib/alephbet.rb, line 7 def setup # fallback api_key if none specified self.api_key = SecureRandom.uuid self.enable_cors = true self.cors_allow_origin = "*" self.cors_allow_headers = "*" yield(self) if block_given? end