Class: Twilio::REST::Verify::V2::ServiceContext::WebhookInstanceMetadata
- Inherits:
-
InstanceResourceMetadata
- Object
- InstanceResourceMetadata
- Twilio::REST::Verify::V2::ServiceContext::WebhookInstanceMetadata
- Defined in:
- lib/twilio-ruby/rest/verify/v2/service/webhook.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, webhook_instance, headers, status_code) ⇒ WebhookInstanceMetadata
constructor
Initializes a new WebhookInstanceMetadata.
- #status_code ⇒ Object
- #to_s ⇒ Object
- #webhook ⇒ Object
Constructor Details
#initialize(version, webhook_instance, headers, status_code) ⇒ WebhookInstanceMetadata
Initializes a new WebhookInstanceMetadata.
440 441 442 443 |
# File 'lib/twilio-ruby/rest/verify/v2/service/webhook.rb', line 440 def initialize(version, webhook_instance, headers, status_code) super(version, headers, status_code) @webhook_instance = webhook_instance end |
Instance Method Details
#headers ⇒ Object
449 450 451 |
# File 'lib/twilio-ruby/rest/verify/v2/service/webhook.rb', line 449 def headers @headers end |
#status_code ⇒ Object
453 454 455 |
# File 'lib/twilio-ruby/rest/verify/v2/service/webhook.rb', line 453 def status_code @status_code end |
#to_s ⇒ Object
457 458 459 |
# File 'lib/twilio-ruby/rest/verify/v2/service/webhook.rb', line 457 def to_s "<Twilio.Api.V2010.WebhookInstanceMetadata status=#{@status_code}>" end |
#webhook ⇒ Object
445 446 447 |
# File 'lib/twilio-ruby/rest/verify/v2/service/webhook.rb', line 445 def webhook @webhook_instance end |