Class: Klaviyo::Event::Result
- Inherits:
-
Struct
- Object
- Struct
- Klaviyo::Event::Result
- Defined in:
- lib/klaviyo/event.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response
5 6 7 |
# File 'lib/klaviyo/event.rb', line 5 def response @response end |
Instance Method Details
#success? ⇒ Boolean
6 7 8 |
# File 'lib/klaviyo/event.rb', line 6 def success? response.to_s == '1' end |