Sha256: ff660f6e23b9b02a0fd8408cb9604535718e6fb066e7d24df71bd5d88e447e5a

Contents?: true

Size: 1.76 KB

Versions: 3

Compression:

Stored size: 1.76 KB

Contents

##
#    This code was generated by
#    ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
#     |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
#     |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
#
#    Twilio - Numbers
#    This is the public Twilio REST API.
#
#    NOTE: This class is auto generated by OpenAPI Generator.
#    https://openapi-generator.tech
#    Do not edit the class manually.
#

module Twilio
    module REST
        class Numbers
            class V1 < Version
                ##
                # Initialize the V1 version of Numbers
                def initialize(domain)
                    super
                    @version = 'v1'
                    @bulk_eligibilities = nil
                end

                ##
                # @param [String] request_id The SID of the bulk eligibility check that you want to know about.
                # @return [Twilio::REST::Numbers::V1::BulkEligibilityContext] if requestId was passed.
                # @return [Twilio::REST::Numbers::V1::BulkEligibilityList]
                def bulk_eligibilities(request_id=:unset)
                    if request_id.nil?
                        raise ArgumentError, 'request_id cannot be nil'
                    end
                    if request_id == :unset
                        @bulk_eligibilities ||= BulkEligibilityList.new self
                    else
                        BulkEligibilityContext.new(self, request_id)
                    end
                end
                ##
                # Provide a user friendly representation
                def to_s
                    '<Twilio::REST::Numbers::V1>';
                end
            end
        end
    end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
twilio-ruby-6.1.0 lib/twilio-ruby/rest/numbers/v1.rb
twilio-ruby-6.0.2 lib/twilio-ruby/rest/numbers/v1.rb
twilio-ruby-6.0.1 lib/twilio-ruby/rest/numbers/v1.rb