Module: Traitify::Configuration
Constant Summary collapse
- VALID_OPTIONS_KEYS =
[ :auto_retry, :deck_id, :host, :image_pack, :jwt_public_keys, :locale_key, :public_key, :retry_options, :secret_key, :version ].freeze
Instance Method Summary collapse
Instance Method Details
#configure {|_self| ... } ⇒ Object
18 19 20 |
# File 'lib/traitify/configuration.rb', line 18 def configure yield self end |
#options ⇒ Object
22 23 24 |
# File 'lib/traitify/configuration.rb', line 22 def Hash[VALID_OPTIONS_KEYS.collect{ |key| [key, send(key)] }] end |