Class: SecureShare::Configuration
- Inherits:
-
Object
- Object
- SecureShare::Configuration
- Includes:
- ActiveSupport::Configurable
- Defined in:
- lib/secureshare/config.rb
Constant Summary collapse
- ATTRS =
[:api_key, :api_secret, :org_name]
Instance Method Summary collapse
Instance Method Details
#ensure_configured! ⇒ Object
24 25 26 27 28 |
# File 'lib/secureshare/config.rb', line 24 def ensure_configured! ATTRS.each do |attr| raise "SecureShare config option missing: #{attr}" unless send(attr) end end |