Sha256: df2df05dab4866f14a746498334e83892537deedfbf96d6c3c7fa9a1fff7384e
Contents?: true
Size: 924 Bytes
Versions: 9
Compression:
Stored size: 924 Bytes
Contents
## # This code was generated by # \ / _ _ _| _ _ # | (_)\/(_)(_|\/| |(/_ v1.0.0 # / / module Twilio module REST class Monitor class V1 < Version ## # Initialize the V1 version of Monitor def initialize(domain) super @version = 'v1' @alerts = nil @events = nil end def alerts(sid=:unset) if sid == :unset @alerts ||= AlertList.new self else AlertContext.new(self, sid) end end def events(sid=:unset) if sid == :unset @events ||= EventList.new self else EventContext.new(self, sid) end end ## # Provide a user friendly representation def to_s '<Twilio::REST::Monitor::V1>' end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems