Class: Twilio::REST::Serverless

Inherits:
ServerlessBase show all
Defined in:
lib/twilio-ruby/rest/serverless.rb,
lib/twilio-ruby/rest/serverless/v1.rb,
lib/twilio-ruby/rest/serverless/v1/service.rb,
lib/twilio-ruby/rest/serverless/v1/service/asset.rb,
lib/twilio-ruby/rest/serverless/v1/service/build.rb,
lib/twilio-ruby/rest/serverless/v1/service/function.rb,
lib/twilio-ruby/rest/serverless/v1/service/environment.rb,
lib/twilio-ruby/rest/serverless/v1/service/environment/log.rb,
lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb,
lib/twilio-ruby/rest/serverless/v1/service/asset/asset_version.rb,
lib/twilio-ruby/rest/serverless/v1/service/environment/variable.rb,
lib/twilio-ruby/rest/serverless/v1/service/environment/deployment.rb,
lib/twilio-ruby/rest/serverless/v1/service/function/function_version.rb,
lib/twilio-ruby/rest/serverless/v1/service/function/function_version/function_version_content.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from ServerlessBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

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

Instance Method Details

#services(sid = :unset) ⇒ Twilio::REST::Serverless::V1::ServiceInstance, Twilio::REST::Serverless::V1::ServiceList

Parameters:

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

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

Returns:



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

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