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.



112
113
114
115
116
# File 'lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb', line 112

def initialize(version )
    super(version)
    
    
end

Instance Method Details

#inspect ⇒ Object

Provide a detailed, user friendly representation



127
128
129
# File 'lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb', line 127

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

#to_s ⇒ Object

Provide a user friendly representation



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

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