Class: RapidApi::Services::ServiceResponse
- Inherits:
-
Object
- Object
- RapidApi::Services::ServiceResponse
- Defined in:
- lib/rapid_api/services/service_response.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
4 5 6 |
# File 'lib/rapid_api/services/service_response.rb', line 4 def errors @errors end |
#value ⇒ Object
Returns the value of attribute value.
4 5 6 |
# File 'lib/rapid_api/services/service_response.rb', line 4 def value @value end |
Instance Method Details
#has_errors? ⇒ Boolean
6 7 8 |
# File 'lib/rapid_api/services/service_response.rb', line 6 def has_errors? !errors.empty? end |