Class: GammaClient::Response
- Inherits:
-
Data
- Object
- Data
- GammaClient::Response
- Defined in:
- app/services/gamma_client.rb
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
21 22 23 |
# File 'app/services/gamma_client.rb', line 21 def data @data end |
#error ⇒ Object (readonly)
Returns the value of attribute error
21 22 23 |
# File 'app/services/gamma_client.rb', line 21 def error @error end |
#success ⇒ Object (readonly)
Returns the value of attribute success
21 22 23 |
# File 'app/services/gamma_client.rb', line 21 def success @success end |
Instance Method Details
#success? ⇒ Boolean
22 |
# File 'app/services/gamma_client.rb', line 22 def success? = success |