Class: Nexmo::Verify::Response
- Defined in:
- lib/nexmo/verify/response.rb
Instance Attribute Summary
Attributes inherited from Response
Instance Method Summary collapse
Methods inherited from Response
#initialize, #method_missing, #respond_to_missing?
Constructor Details
This class inherits a constructor from Nexmo::Response
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Nexmo::Response
Instance Method Details
#success? ⇒ Boolean
2 3 4 |
# File 'lib/nexmo/verify/response.rb', line 2 def success? respond_to?(:status) && !respond_to?(:error_text) end |