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