# 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