Class: Loqate::Result::Success
- Inherits:
-
Loqate::Result
- Object
- Loqate::Result
- Loqate::Result::Success
- Defined in:
- lib/loqate/result.rb
Overview
Wraps the result of a successful operation.
Instance Attribute Summary
Attributes inherited from Loqate::Result
Instance Method Summary collapse
-
#failure? ⇒ FalseClass
Always false.
-
#success? ⇒ TrueClass
Always true.
Methods inherited from Loqate::Result
Constructor Details
This class inherits a constructor from Loqate::Result
Instance Method Details
#failure? ⇒ FalseClass
Always false
44 45 46 |
# File 'lib/loqate/result.rb', line 44 def failure? false end |
#success? ⇒ TrueClass
Always true
36 37 38 |
# File 'lib/loqate/result.rb', line 36 def success? true end |