Sha256: 6105f7f7760252a08adc9d750f54f267bbb130fd0225e4697904237641509ec1
Contents?: true
Size: 923 Bytes
Versions: 7
Compression:
Stored size: 923 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
7 entries across 7 versions & 1 rubygems