Sha256: 912dbfb19b91ee80375727b57631af781a027f15c77e80892f9a10d4df8eb4c9

Contents?: true

Size: 285 Bytes

Versions: 9

Compression:

Stored size: 285 Bytes

Contents

Twilio::REST::Messaging::V1::ServiceContext::PhoneNumberList.class_eval do
  def list(limit: nil, page_size: nil)
    limit = 1 if @version.domain.client.http_client.class == Mock::Twilio::Client

    self.stream(
      limit: limit,
      page_size: page_size
    ).entries
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mock-twilio-1.4 lib/twilio/rest/messaging/v1/service/phone_number_decorator.rb
mock-twilio-1.3.2 lib/twilio/rest/messaging/v1/service/phone_number_decorator.rb
mock-twilio-1.3.1 lib/twilio/rest/messaging/v1/service/phone_number_decorator.rb
mock-twilio-1.3.0 lib/twilio/rest/messaging/v1/service/phone_number_decorator.rb
mock-twilio-1.2.0 lib/twilio/rest/messaging/v1/service/phone_number_decorator.rb
mock-twilio-1.1.0 lib/twilio/rest/messaging/v1/service/phone_number_decorator.rb
mock-twilio-1.0.0 lib/twilio/rest/messaging/v1/service/phone_number_decorator.rb
mock-twilio-0.8.0 lib/twilio/rest/messaging/v1/service/phone_number_decorator.rb
mock-twilio-0.7.2 lib/twilio/rest/messaging/v1/service/phone_number_decorator.rb