Sha256: bc46a9701726b294d76af9ed3a9f1b7b7ee5c02fb9091a7ce18b145b0861a976

Contents?: true

Size: 804 Bytes

Versions: 3

Compression:

Stored size: 804 Bytes

Contents

##
# This code was generated by
# \ / _    _  _|   _  _
#  | (_)\/(_)(_|\/| |(/_  v1.0.0
#       /       /

module Twilio
  module REST
    class Pricing < Domain
      ##
      # Initialize the Pricing Domain
      def initialize(twilio)
        super

        @base_url = 'https://pricing.twilio.com'
        @host = 'pricing.twilio.com'
        @port = 443

        # Versions
        @v1 = nil
      end

      ##
      # Version v1 of pricing
      def v1
        @v1 ||= V1.new self
      end

      def messaging
        self.v1.messaging
      end

      def phone_numbers
        self.v1.phone_numbers
      end

      def voice
        self.v1.voice
      end

      ##
      # Provide a user friendly representation
      def to_s
        '#<Twilio::REST::Pricing>'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc21 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.0.0.rc20 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.0.0.rc19 lib/twilio-ruby/rest/pricing.rb