Sha256: 47b7a842c54879f09a2a147e3486254d7216ff6bd0621472f9b733bdb0237bdb
Contents?: true
Size: 893 Bytes
Versions: 6
Compression:
Stored size: 893 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
6 entries across 6 versions & 1 rubygems