Sha256: 51ae82c0a44addf0b203a0525e7674f1466024234eb4609dfdda7f0fb9621f9e
Contents?: true
Size: 611 Bytes
Versions: 12
Compression:
Stored size: 611 Bytes
Contents
# frozen_string_literal: true module Mock module Twilio module Schemas class PhoneNumbersV2 class << self def for(body, request) body["calling_country_code"] = '1' if body["calling_country_code"] body["country_code"] = 'US' if body["country_code"] body["valid"] = true if body["valid"] body["validation_errors"] = [] if body["validation_errors"] body["line_type_intelligence"] = { "carrier_name" => "Mock::Twilio - SMS/MMS-SVR", "type" => "mock" } body end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems