Sha256: 2048e09b254ec3b0bdac36a0573dadc545d1aa5fb59894610469b735615b998b
Contents?: true
Size: 980 Bytes
Versions: 4
Compression:
Stored size: 980 Bytes
Contents
# frozen_string_literal: true module Mock module Twilio module Decorators module Api2010 class IncomingPhoneNumbers class << self include Mock::Twilio::Generator def decorate(body, request) body["date_updated"] = Time.current.rfc2822 if body["date_updated"] body["date_created"] = Time.current.rfc2822 if body["date_created"] body["account_sid"] = ::Twilio.account_sid if body["account_sid"] body["sid"] = random_phone_number_sid if body["sid"] body["identity_sid"] = random_identity_sid if body["identity_sid"] body["emergency_address_sid"] = random_address_sid if body["emergency_address_sid"] body["address_sid"] = random_address_sid if body["address_sid"] body["bundle_sid"] = random_bundle_sid if body["bundle_sid"] body end end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems