Class: Twilio::REST::Microvisor

Inherits:
MicrovisorBase show all
Defined in:
lib/twilio-ruby/rest/microvisor.rb,
lib/twilio-ruby/rest/microvisor/v1.rb,
lib/twilio-ruby/rest/microvisor/v1/app.rb,
lib/twilio-ruby/rest/microvisor/v1/device.rb,
lib/twilio-ruby/rest/microvisor/v1/account_config.rb,
lib/twilio-ruby/rest/microvisor/v1/account_secret.rb,
lib/twilio-ruby/rest/microvisor/v1/app/app_manifest.rb,
lib/twilio-ruby/rest/microvisor/v1/device/device_config.rb,
lib/twilio-ruby/rest/microvisor/v1/device/device_secret.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from MicrovisorBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::MicrovisorBase

Instance Method Details

#apps(sid = :unset) ⇒ Twilio::REST::Microvisor::V1::AppInstance, Twilio::REST::Microvisor::V1::AppList

Parameters:

  • sid (String) (defaults to: :unset)

    A 34-character string that uniquely identifies this App.

Returns:



9
10
11
12
# File 'lib/twilio-ruby/rest/microvisor.rb', line 9

def apps(sid=:unset)
  warn "apps is deprecated. Use v1.apps instead."
  self.v1.apps(sid)
end

#devices(sid = :unset) ⇒ Twilio::REST::Microvisor::V1::DeviceInstance, Twilio::REST::Microvisor::V1::DeviceList

Parameters:

  • sid (String) (defaults to: :unset)

    A 34-character string that uniquely identifies this Device.

Returns:



18
19
20
21
# File 'lib/twilio-ruby/rest/microvisor.rb', line 18

def devices(sid=:unset)
  warn "devices is deprecated. Use v1.devices instead."
  self.v1.devices(sid)
end