Sha256: 647552d3d04a58168ea6ad20584e73ad9f6c8d0e02e29434a6e58d9908bb44b0
Contents?: true
Size: 679 Bytes
Versions: 4
Compression:
Stored size: 679 Bytes
Contents
# frozen_string_literal: true module TwilioBase module Fake module Lookup class PhoneNumber PhoneNumberInstance = Struct.new( :attributes, :phone_number, :national_format, :caller_name, :carrier, :country_code ) do def carrier { 'type' => 'mobile' } end end attr_accessor :phone_number def initialize(phone_number) self.phone_number = phone_number end def fetch(attributes = {}) PhoneNumberInstance.new(attributes, phone_number) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems