Class: Twilio::REST::Video::V1::RecordingSettingsContext
- Inherits:
-
InstanceContext
- Object
- InstanceContext
- Twilio::REST::Video::V1::RecordingSettingsContext
- Defined in:
- lib/twilio-ruby/rest/video/v1/recording_settings.rb
Instance Method Summary collapse
-
#create(friendly_name: nil, aws_credentials_sid: :unset, encryption_key_sid: :unset, aws_s3_url: :unset, aws_storage_enabled: :unset, encryption_enabled: :unset) ⇒ RecordingSettingsInstance
Create the RecordingSettingsInstance.
-
#fetch ⇒ RecordingSettingsInstance
Fetch the RecordingSettingsInstance.
-
#initialize(version) ⇒ RecordingSettingsContext
constructor
Initialize the RecordingSettingsContext.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version) ⇒ RecordingSettingsContext
Initialize the RecordingSettingsContext
66 67 68 69 70 71 72 |
# File 'lib/twilio-ruby/rest/video/v1/recording_settings.rb', line 66 def initialize(version) super(version) # Path Solution @solution = {} @uri = "/RecordingSettings/Default" end |
Instance Method Details
#create(friendly_name: nil, aws_credentials_sid: :unset, encryption_key_sid: :unset, aws_s3_url: :unset, aws_storage_enabled: :unset, encryption_enabled: :unset) ⇒ RecordingSettingsInstance
Create the RecordingSettingsInstance
#fetch ⇒ RecordingSettingsInstance
Fetch the RecordingSettingsInstance
77 78 79 80 81 |
# File 'lib/twilio-ruby/rest/video/v1/recording_settings.rb', line 77 def fetch payload = @version.fetch('GET', @uri) RecordingSettingsInstance.new(@version, payload, ) end |
#inspect ⇒ Object
Provide a detailed, user friendly representation
125 126 127 128 |
# File 'lib/twilio-ruby/rest/video/v1/recording_settings.rb', line 125 def inspect context = @solution.map {|k, v| "#{k}: #{v}"}.join(',') "#<Twilio.Video.V1.RecordingSettingsContext #{context}>" end |
#to_s ⇒ Object
Provide a user friendly representation
118 119 120 121 |
# File 'lib/twilio-ruby/rest/video/v1/recording_settings.rb', line 118 def to_s context = @solution.map {|k, v| "#{k}: #{v}"}.join(',') "#<Twilio.Video.V1.RecordingSettingsContext #{context}>" end |