Class: Audd::RecognizeSuccessResponse
- Defined in:
- lib/audd/models/recognize_success_response.rb
Overview
Envelope returned by POST api.audd.io/ on success. result is nil when the
audio was processed fine but nothing matched — that is a successful
response, not an error.
Instance Attribute Summary
Attributes inherited from Model
Instance Method Summary collapse
Methods inherited from Model
#==, #[], field, fields, from_json, #hash, #initialize, #inspect, #to_h
Constructor Details
This class inherits a constructor from Audd::Model
Instance Method Details
#match? ⇒ Boolean
14 15 16 |
# File 'lib/audd/models/recognize_success_response.rb', line 14 def match? !result.nil? end |