Class: Twilio::REST::Voice::V1::DialingPermissionsInstance

Inherits:
InstanceResource show all
Defined in:
lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ DialingPermissionsInstance

Initialize the DialingPermissionsInstance

Parameters:

  • version (Version)

    Version that contains the resource

  • payload (Hash)

    payload that contains response from Twilio

  • account_sid (String)

    The SID of the Account that created this DialingPermissions resource.

  • sid (String)

    The SID of the Call resource to fetch.



109
110
111
112
# File 'lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb', line 109

def initialize(version )
    super(version)
    
end

Instance Method Details

#inspectObject

Provide a detailed, user friendly representation



123
124
125
# File 'lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb', line 123

def inspect
    "<Twilio.Voice.V1.DialingPermissionsInstance>"
end

#to_sObject

Provide a user friendly representation



117
118
119
# File 'lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb', line 117

def to_s
    "<Twilio.Voice.V1.DialingPermissionsInstance>"
end