Module: TwilioExtensions::Lookups
- Included in:
- Twilio::REST::Lookups::V1::PhoneNumberContext
- Defined in:
- lib/twilio_extensions.rb
Instance Method Summary collapse
Instance Method Details
#fetch ⇒ Object
27 28 29 30 31 |
# File 'lib/twilio_extensions.rb', line 27 def fetch(*) client = @version.instance_variable_get(:@domain).client TwilioMock::LookupMocker.new(username: client.account_sid, token: client.auth_token).lookup(@solution[:phone_number]) if TwilioMock::Testing.enabled? super end |