Module: TwilioExtensions::IncomingPhoneNumbers

Included in:
Twilio::REST::Api::V2010::AccountContext::IncomingPhoneNumberList
Defined in:
lib/twilio_extensions.rb

Instance Method Summary collapse

Instance Method Details

#create(attrs) ⇒ Object



17
18
19
20
# File 'lib/twilio_extensions.rb', line 17

def create(attrs)
  TwilioMock::Mocker.new.buy_number(attrs) if TwilioMock::Testing.enabled?
  super(attrs)
end