Sha256: 98b53a104c78459bfdcd0a462c904b7738ac1dd6448dba844a58a8e498c524a4
Contents?: true
Size: 1.03 KB
Versions: 31
Compression:
Stored size: 1.03 KB
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / # # frozen_string_literal: true module Twilio module REST class Fax class V1 < Version ## # Initialize the V1 version of Fax def initialize(domain) super @version = 'v1' @faxes = nil end ## # @param [String] sid The Twilio-provided string that uniquely identifies the Fax # resource to fetch. # @return [Twilio::REST::Fax::V1::FaxContext] if sid was passed. # @return [Twilio::REST::Fax::V1::FaxList] def faxes(sid=:unset) if sid.nil? raise ArgumentError, 'sid cannot be nil' end if sid == :unset @faxes ||= FaxList.new self else FaxContext.new(self, sid) end end ## # Provide a user friendly representation def to_s '<Twilio::REST::Fax::V1>' end end end end end
Version data entries
31 entries across 31 versions & 1 rubygems