lib/twilio-ruby/rest/preview.rb in twilio-ruby-5.4.4 vs lib/twilio-ruby/rest/preview.rb in twilio-ruby-5.4.5

- old
+ new

@@ -20,10 +20,11 @@ @bulk_exports = nil @deployed_devices = nil @hosted_numbers = nil @marketplace = nil @proxy = nil + @studio = nil @acc_security = nil @sync = nil @understand = nil @wireless = nil end @@ -57,10 +58,16 @@ def proxy @proxy ||= Proxy.new self end ## + # Version studio of preview + def studio + @studio ||= Studio.new self + end + + ## # Version acc_security of preview def acc_security @acc_security ||= AccSecurity.new self end @@ -146,9 +153,17 @@ # @param [String] sid The sid # @return [Twilio::REST::Preview::Understand::ServiceInstance] if sid was passed. # @return [Twilio::REST::Preview::Understand::ServiceList] def services(sid=:unset) self.understand.services(sid) + end + + ## + # @param [String] sid A 34 character string that uniquely identifies this Flow. + # @return [Twilio::REST::Preview::Studio::FlowInstance] if sid was passed. + # @return [Twilio::REST::Preview::Studio::FlowList] + def flows(sid=:unset) + self.studio.flows(sid) end ## # @param [String] sid The sid # @return [Twilio::REST::Preview::Wireless::CommandInstance] if sid was passed. \ No newline at end of file