Sha256: fa006a03cb9425ca7ea968aa19ccef857372f527a7b68f66bf7056a236074e6a
Contents?: true
Size: 1.14 KB
Versions: 23
Compression:
Stored size: 1.14 KB
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / # # frozen_string_literal: true 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 @v2 = nil end ## # Version v1 of pricing def v1 @v1 ||= V1.new self end ## # Version v2 of pricing def v2 @v2 ||= V2.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::V2::VoiceInstance] def voice self.v2.voice() end ## # Provide a user friendly representation def to_s '#<Twilio::REST::Pricing>' end end end end
Version data entries
23 entries across 23 versions & 1 rubygems