Class: Twilio::REST::Serverless::V1::ServiceContext::BuildContext::BuildStatusList

Inherits:
ListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb

Overview

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

Instance Method Summary collapse

Constructor Details

#initialize(version, service_sid: nil, sid: nil) ⇒ BuildStatusList

Initialize the BuildStatusList

Parameters:

  • version (Version)

    Version that contains the resource

  • service_sid (String) (defaults to: nil)

    The SID of the Service that the Build resource is associated with.

  • sid (String) (defaults to: nil)

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


26
27
28
29
30
31
# File 'lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb', line 26

def initialize(version, service_sid: nil, sid: nil)
  super(version)

  # Path Solution
  @solution = {service_sid: service_sid, sid: sid}
end

Instance Method Details

#to_sObject

Provide a user friendly representation


35
36
37
# File 'lib/twilio-ruby/rest/serverless/v1/service/build/build_status.rb', line 35

def to_s
  '#<Twilio.Serverless.V1.BuildStatusList>'
end