Exception: Parse::MFA::DependencyError
- Defined in:
- lib/parse/two_factor_auth.rb
Overview
Error raised when required gem is not available
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(gem_name) ⇒ DependencyError
constructor
A new instance of DependencyError.
Constructor Details
#initialize(gem_name) ⇒ DependencyError
Returns a new instance of DependencyError.
81 82 83 |
# File 'lib/parse/two_factor_auth.rb', line 81 def initialize(gem_name) super("The '#{gem_name}' gem is required for this feature. Add to Gemfile: gem '#{gem_name}'") end |