Class: Twilio::REST::Messaging::V3

Inherits:
Version
  • Object
show all
Defined in:
lib/twilio-ruby/rest/messaging/v3.rb,
lib/twilio-ruby/rest/messaging/v3/typing_indicator.rb

Defined Under Namespace

Classes: TypingIndicatorInstance, TypingIndicatorList, TypingIndicatorListResponse, TypingIndicatorPage, TypingIndicatorPageMetadata

Instance Attribute Summary

Attributes inherited from Version

#domain, #version

Instance Method Summary collapse

Methods inherited from Version

#absolute_url, #create, #create_with_metadata, #delete, #delete_with_metadata, #exception, #fetch, #fetch_with_metadata, #page, #patch, #read_limits, #relative_uri, #request, #stream, #stream_with_metadata, #update, #update_with_metadata

Constructor Details

#initialize(domain) ⇒ V3

Initialize the V3 version of Messaging



21
22
23
24
25
# File 'lib/twilio-ruby/rest/messaging/v3.rb', line 21

def initialize(domain)
    super
    @version = 'v3'
    @typing_indicator = nil
end

Instance Method Details

#to_sObject

Provide a user friendly representation



34
35
36
# File 'lib/twilio-ruby/rest/messaging/v3.rb', line 34

def to_s
    '<Twilio::REST::Messaging::V3>';
end

#typing_indicatorTwilio::REST::Messaging::V3::TypingIndicatorList



29
30
31
# File 'lib/twilio-ruby/rest/messaging/v3.rb', line 29

def typing_indicator
    @typing_indicator ||= TypingIndicatorList.new self
end