Class: GammaClient::Response
- Inherits:
-
Data
- Object
- Data
- GammaClient::Response
- Defined in:
- app/services/gamma_client.rb
Overview
Service object: response.
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data
24 25 26 |
# File 'app/services/gamma_client.rb', line 24 def data @data end |
#error ⇒ Object (readonly)
Returns the value of attribute error
24 25 26 |
# File 'app/services/gamma_client.rb', line 24 def error @error end |
#success ⇒ Object (readonly)
Returns the value of attribute success
24 25 26 |
# File 'app/services/gamma_client.rb', line 24 def success @success end |
Instance Method Details
#success? ⇒ Boolean
25 |
# File 'app/services/gamma_client.rb', line 25 def success? = success |