Module: TwilioExtensions::Lookups

Included in:
Twilio::REST::Lookups::V1::PhoneNumberContext
Defined in:
lib/twilio_extensions.rb

Instance Method Summary collapse

Instance Method Details

#fetchObject



24
25
26
27
# File 'lib/twilio_extensions.rb', line 24

def fetch(*)
  TwilioMock::LookupMocker.new.lookup(@solution[:phone_number]) if TwilioMock::Testing.enabled?
  super
end