Sha256: e92f40fba83ee7a7c3f24dce453274ad94545c7651bcc4376faa5e704ba7fc46

Contents?: true

Size: 1 KB

Versions: 29

Compression:

Stored size: 1 KB

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

      ##
      # @return [Twilio::REST::Pricing::V1::MessagingInstance]
      def messaging
        self.v1.messaging()
      end

      ##
      # @return [Twilio::REST::Pricing::V1::PhoneNumberInstance]
      def phone_numbers
        self.v1.phone_numbers()
      end

      ##
      # @return [Twilio::REST::Pricing::V1::VoiceInstance]
      def voice
        self.v1.voice()
      end

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

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
twilio-ruby-5.8.1 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.8.0 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.7.2 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.7.1 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.7.0 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.6.4 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.6.3 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.6.2 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.6.1 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.6.0 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.5.1 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.5.0 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.4.5 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.4.4 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.4.3 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.4.2 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.4.1 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.4.0 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.3.1 lib/twilio-ruby/rest/pricing.rb
twilio-ruby-5.3.0 lib/twilio-ruby/rest/pricing.rb