Sha256: 01cd5d87d8cf8725bd6e1f4ec14f2f6e78269faee33ed46dc60d83773ed097bd
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / module Twilio module REST class Preview class Marketplace < Version ## # Initialize the Marketplace version of Preview def initialize(domain) super @version = 'marketplace' @available_add_ons = nil @installed_add_ons = nil end def available_add_ons(sid=:unset) if sid.nil? raise ArgumentError, 'sid cannot be nil' elsif sid == :unset @available_add_ons ||= AvailableAddOnList.new self else AvailableAddOnContext.new(self, sid) end end def installed_add_ons(sid=:unset) if sid.nil? raise ArgumentError, 'sid cannot be nil' elsif sid == :unset @installed_add_ons ||= InstalledAddOnList.new self else InstalledAddOnContext.new(self, sid) end end ## # Provide a user friendly representation def to_s '<Twilio::REST::Preview::Marketplace>' end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
twilio-ruby-5.0.0.rc26 | lib/twilio-ruby/rest/preview/marketplace.rb |
twilio-ruby-5.0.0.rc25 | lib/twilio-ruby/rest/preview/marketplace.rb |