Class: Twilio::REST::FrontlineApi

Inherits:
FrontlineApiBase show all
Defined in:
lib/twilio-ruby/rest/frontline_api.rb,
lib/twilio-ruby/rest/frontline_api/v1.rb,
lib/twilio-ruby/rest/frontline_api/v1/user.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from FrontlineApiBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

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

Instance Method Details

#users(sid = :unset) ⇒ Twilio::REST::Frontline_api::V1::UserInstance, Twilio::REST::Frontline_api::V1::UserList

Parameters:

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

    The unique string that we created to identify the User resource.

Returns:

  • (Twilio::REST::Frontline_api::V1::UserInstance)

    if sid was passed.

  • (Twilio::REST::Frontline_api::V1::UserList)


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

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