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

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

Overview

PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you currently do not have developer preview access, please contact [email protected]

Instance Method Summary collapse

Constructor Details

#initialize(version, payload) ⇒ DialingPermissionsInstance

Initialize the DialingPermissionsInstance

Parameters:

  • version (Version)

    Version that contains the resource

  • payload (Hash)

    payload that contains response from Twilio


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

def initialize(version, payload)
  super(version)
end

Instance Method Details

#inspectObject

Provide a detailed, user friendly representation


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

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

#to_sObject

Provide a user friendly representation


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

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