Class: Twilio::REST::Events::V1::SinkContext::SinkValidateInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::Events::V1::SinkContext::SinkValidateInstance
- Defined in:
- lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb
Instance Method Summary collapse
-
#initialize(version, payload, sid: nil) ⇒ SinkValidateInstance
constructor
Initialize the SinkValidateInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#result ⇒ String
Feedback indicating whether the given Sink was validated.
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version, payload, sid: nil) ⇒ SinkValidateInstance
Initialize the SinkValidateInstance
108 109 110 111 112 113 114 115 |
# File 'lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb', line 108 def initialize(version, payload , sid: nil) super(version) # Marshaled Properties @properties = { 'result' => payload['result'], } end |
Instance Method Details
#inspect ⇒ Object
Provide a detailed, user friendly representation
132 133 134 |
# File 'lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb', line 132 def inspect "<Twilio.Events.V1.SinkValidateInstance>" end |
#result ⇒ String
Returns Feedback indicating whether the given Sink was validated.
120 121 122 |
# File 'lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb', line 120 def result @properties['result'] end |
#to_s ⇒ Object
Provide a user friendly representation
126 127 128 |
# File 'lib/twilio-ruby/rest/events/v1/sink/sink_validate.rb', line 126 def to_s "<Twilio.Events.V1.SinkValidateInstance>" end |