mux_ruby 3.16.0 → 3.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +3 -2
  4. data/README.md +5 -5
  5. data/docs/Asset.md +3 -1
  6. data/docs/CreateAssetRequest.md +7 -3
  7. data/docs/CreateLiveStreamRequest.md +2 -0
  8. data/docs/CreatePlaybackIDRequest.md +3 -1
  9. data/docs/CreateUploadRequest.md +1 -1
  10. data/docs/DRMConfiguration.md +18 -0
  11. data/docs/DRMConfigurationResponse.md +18 -0
  12. data/docs/DRMConfigurationsApi.md +153 -0
  13. data/docs/DeliveryReport.md +3 -1
  14. data/docs/ListDRMConfigurationsResponse.md +18 -0
  15. data/docs/MetricsApi.md +8 -8
  16. data/docs/PlaybackID.md +3 -1
  17. data/gen/generator-config.json +1 -1
  18. data/gen/templates/README.mustache +1 -1
  19. data/lib/mux_ruby/api/drm_configurations_api.rb +148 -0
  20. data/lib/mux_ruby/api/metrics_api.rb +8 -8
  21. data/lib/mux_ruby/models/asset.rb +24 -2
  22. data/lib/mux_ruby/models/create_asset_request.rb +40 -6
  23. data/lib/mux_ruby/models/create_live_stream_request.rb +13 -1
  24. data/lib/mux_ruby/models/create_playback_id_request.rb +14 -4
  25. data/lib/mux_ruby/models/create_upload_request.rb +1 -0
  26. data/lib/mux_ruby/models/delivery_report.rb +24 -2
  27. data/lib/mux_ruby/models/drm_configuration.rb +219 -0
  28. data/lib/mux_ruby/models/drm_configuration_response.rb +218 -0
  29. data/lib/mux_ruby/models/list_drm_configurations_response.rb +220 -0
  30. data/lib/mux_ruby/models/playback_id.rb +14 -4
  31. data/lib/mux_ruby/models/playback_policy.rb +1 -0
  32. data/lib/mux_ruby/version.rb +1 -1
  33. data/lib/mux_ruby.rb +4 -0
  34. data/spec/api/drm_configurations_api_spec.rb +60 -0
  35. data/spec/models/drm_configuration_response_spec.rb +34 -0
  36. data/spec/models/drm_configuration_spec.rb +34 -0
  37. data/spec/models/list_drm_configurations_response_spec.rb +34 -0
  38. data/vendor/bundle/ruby/3.2.0/cache/jaro_winkler-1.5.6.gem +0 -0
  39. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/byebug/byebug.so +0 -0
  40. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +6 -6
  41. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/ffi_c.so +0 -0
  42. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/gem_make.out +6 -6
  43. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/mkmf.log +18 -18
  44. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +29 -0
  45. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/jaro_winkler/jaro_winkler_ext.so +0 -0
  46. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-4.0.4/gem_make.out +6 -6
  47. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-4.0.4/mkmf.log +4 -4
  48. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-4.0.4/psych.so +0 -0
  49. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.2/gem_make.out +6 -6
  50. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.2/mkmf.log +2 -2
  51. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.2/stringio.so +0 -0
  52. data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/Makefile +3 -3
  53. data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
  54. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +3 -3
  55. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/lib/ffi_c.so +0 -0
  56. data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/Makefile +3 -3
  57. data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro_winkler.c +12 -7
  58. data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
  59. data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler/version.rb +1 -1
  60. data/vendor/bundle/ruby/3.2.0/gems/psych-4.0.4/ext/psych/Makefile +3 -3
  61. data/vendor/bundle/ruby/3.2.0/gems/psych-4.0.4/lib/psych.so +0 -0
  62. data/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/ext/stringio/Makefile +3 -3
  63. data/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/lib/stringio.so +0 -0
  64. data/vendor/bundle/ruby/3.2.0/specifications/{jaro_winkler-1.5.4.gemspec → jaro_winkler-1.5.6.gemspec} +5 -5
  65. metadata +191 -175
  66. data/vendor/bundle/ruby/3.2.0/cache/jaro_winkler-1.5.4.gem +0 -0
  67. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.4/gem_make.out +0 -66
  68. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.4/jaro_winkler/jaro_winkler_ext.so +0 -0
  69. data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.4/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
  70. /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/gem.build_complete +0 -0
  71. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/LICENSE.txt +0 -0
  72. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.c +0 -0
  73. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/adj_matrix.h +0 -0
  74. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.c +0 -0
  75. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/codepoints.h +0 -0
  76. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/extconf.rb +0 -0
  77. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.c +0 -0
  78. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/ext/jaro_winkler/jaro.h +0 -0
  79. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler/adjusting_table.rb +0 -0
  80. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler/jaro_winkler_pure.rb +0 -0
  81. /data/vendor/bundle/ruby/3.2.0/gems/{jaro_winkler-1.5.4 → jaro_winkler-1.5.6}/lib/jaro_winkler.rb +0 -0
@@ -0,0 +1,220 @@
1
+ =begin
2
+ #Mux API
3
+
4
+ #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module MuxRuby
17
+ class ListDRMConfigurationsResponse
18
+ attr_accessor :data
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'data' => :'data'
24
+ }
25
+ end
26
+
27
+ # Returns all the JSON keys this model knows about
28
+ def self.acceptable_attributes
29
+ attribute_map.values
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'data' => :'Array<DRMConfiguration>'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MuxRuby::ListDRMConfigurationsResponse` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h|
54
+ if (!self.class.attribute_map.key?(k.to_sym))
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MuxRuby::ListDRMConfigurationsResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ end
57
+ h[k.to_sym] = v
58
+ }
59
+
60
+ if attributes.key?(:'data')
61
+ if (value = attributes[:'data']).is_a?(Array)
62
+ self.data = value
63
+ end
64
+ end
65
+ end
66
+
67
+ # Show invalid properties with the reasons. Usually used together with valid?
68
+ # @return Array for valid properties with the reasons
69
+ def list_invalid_properties
70
+ invalid_properties = Array.new
71
+ invalid_properties
72
+ end
73
+
74
+ # Check to see if the all the properties in the model are valid
75
+ # @return true if the model is valid
76
+ def valid?
77
+ true
78
+ end
79
+
80
+ # Checks equality by comparing each attribute.
81
+ # @param [Object] Object to be compared
82
+ def ==(o)
83
+ return true if self.equal?(o)
84
+ self.class == o.class &&
85
+ data == o.data
86
+ end
87
+
88
+ # @see the `==` method
89
+ # @param [Object] Object to be compared
90
+ def eql?(o)
91
+ self == o
92
+ end
93
+
94
+ # Calculates hash code according to all attributes.
95
+ # @return [Integer] Hash code
96
+ def hash
97
+ [data].hash
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def self.build_from_hash(attributes)
104
+ new.build_from_hash(attributes)
105
+ end
106
+
107
+ # Builds the object from hash
108
+ # @param [Hash] attributes Model attributes in the form of hash
109
+ # @return [Object] Returns the model itself
110
+ def build_from_hash(attributes)
111
+ return nil unless attributes.is_a?(Hash)
112
+ self.class.openapi_types.each_pair do |key, type|
113
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
114
+ self.send("#{key}=", nil)
115
+ elsif type =~ /\AArray<(.*)>/i
116
+ # check to ensure the input is an array given that the attribute
117
+ # is documented as an array but the input is not
118
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
119
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
120
+ end
121
+ elsif !attributes[self.class.attribute_map[key]].nil?
122
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
123
+ end
124
+ end
125
+
126
+ self
127
+ end
128
+
129
+ # Deserializes the data based on type
130
+ # @param string type Data type
131
+ # @param string value Value to be deserialized
132
+ # @return [Object] Deserialized data
133
+ def _deserialize(type, value)
134
+ case type.to_sym
135
+ when :Time
136
+ Time.parse(value)
137
+ when :Date
138
+ Date.parse(value)
139
+ when :String
140
+ value.to_s
141
+ when :Integer
142
+ value.to_i
143
+ when :Float
144
+ value.to_f
145
+ when :Boolean
146
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
147
+ true
148
+ else
149
+ false
150
+ end
151
+ when :Object
152
+ # generic object (usually a Hash), return directly
153
+ value
154
+ when /\AArray<(?<inner_type>.+)>\z/
155
+ inner_type = Regexp.last_match[:inner_type]
156
+ value.map { |v| _deserialize(inner_type, v) }
157
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
158
+ k_type = Regexp.last_match[:k_type]
159
+ v_type = Regexp.last_match[:v_type]
160
+ {}.tap do |hash|
161
+ value.each do |k, v|
162
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
163
+ end
164
+ end
165
+ else # model
166
+ # models (e.g. Pet) or oneOf
167
+ klass = MuxRuby.const_get(type)
168
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
169
+ end
170
+ end
171
+
172
+ # Returns the string representation of the object
173
+ # @return [String] String presentation of the object
174
+ def to_s
175
+ to_hash.to_s
176
+ end
177
+
178
+ # to_body is an alias to to_hash (backward compatibility)
179
+ # @return [Hash] Returns the object in the form of hash
180
+ def to_body
181
+ to_hash
182
+ end
183
+
184
+ # Returns the object in the form of hash
185
+ # @return [Hash] Returns the object in the form of hash
186
+ def to_hash
187
+ hash = {}
188
+ self.class.attribute_map.each_pair do |attr, param|
189
+ value = self.send(attr)
190
+ if value.nil?
191
+ is_nullable = self.class.openapi_nullable.include?(attr)
192
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
193
+ end
194
+
195
+ hash[param] = _to_hash(value)
196
+ end
197
+ hash
198
+ end
199
+
200
+ # Outputs non-array value in the form of hash
201
+ # For object, use to_hash. Otherwise, just return the value
202
+ # @param [Object] value Any valid value
203
+ # @return [Hash] Returns the value in the form of hash
204
+ def _to_hash(value)
205
+ if value.is_a?(Array)
206
+ value.compact.map { |v| _to_hash(v) }
207
+ elsif value.is_a?(Hash)
208
+ {}.tap do |hash|
209
+ value.each { |k, v| hash[k] = _to_hash(v) }
210
+ end
211
+ elsif value.respond_to? :to_hash
212
+ value.to_hash
213
+ else
214
+ value
215
+ end
216
+ end
217
+
218
+ end
219
+
220
+ end
@@ -20,11 +20,15 @@ module MuxRuby
20
20
 
21
21
  attr_accessor :policy
22
22
 
23
+ # The DRM configuration used by this playback ID. Must only be set when `policy` is set to `drm`.
24
+ attr_accessor :drm_configuration_id
25
+
23
26
  # Attribute mapping from ruby-style variable name to JSON key.
24
27
  def self.attribute_map
25
28
  {
26
29
  :'id' => :'id',
27
- :'policy' => :'policy'
30
+ :'policy' => :'policy',
31
+ :'drm_configuration_id' => :'drm_configuration_id'
28
32
  }
29
33
  end
30
34
 
@@ -37,7 +41,8 @@ module MuxRuby
37
41
  def self.openapi_types
38
42
  {
39
43
  :'id' => :'String',
40
- :'policy' => :'PlaybackPolicy'
44
+ :'policy' => :'PlaybackPolicy',
45
+ :'drm_configuration_id' => :'String'
41
46
  }
42
47
  end
43
48
 
@@ -69,6 +74,10 @@ module MuxRuby
69
74
  if attributes.key?(:'policy')
70
75
  self.policy = attributes[:'policy']
71
76
  end
77
+
78
+ if attributes.key?(:'drm_configuration_id')
79
+ self.drm_configuration_id = attributes[:'drm_configuration_id']
80
+ end
72
81
  end
73
82
 
74
83
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -90,7 +99,8 @@ module MuxRuby
90
99
  return true if self.equal?(o)
91
100
  self.class == o.class &&
92
101
  id == o.id &&
93
- policy == o.policy
102
+ policy == o.policy &&
103
+ drm_configuration_id == o.drm_configuration_id
94
104
  end
95
105
 
96
106
  # @see the `==` method
@@ -102,7 +112,7 @@ module MuxRuby
102
112
  # Calculates hash code according to all attributes.
103
113
  # @return [Integer] Hash code
104
114
  def hash
105
- [id, policy].hash
115
+ [id, policy, drm_configuration_id].hash
106
116
  end
107
117
 
108
118
  # Builds the object from hash
@@ -17,6 +17,7 @@ module MuxRuby
17
17
  class PlaybackPolicy
18
18
  PUBLIC = "public".freeze
19
19
  SIGNED = "signed".freeze
20
+ DRM = "drm".freeze
20
21
 
21
22
  # Builds the enum from string
22
23
  # @param [String] The enum value in the form of the string
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.0.1
11
11
  =end
12
12
 
13
13
  module MuxRuby
14
- VERSION = '3.16.0'
14
+ VERSION = '3.18.0'
15
15
  end
data/lib/mux_ruby.rb CHANGED
@@ -46,6 +46,8 @@ require 'mux_ruby/models/create_track_response'
46
46
  require 'mux_ruby/models/create_transcription_vocabulary_request'
47
47
  require 'mux_ruby/models/create_upload_request'
48
48
  require 'mux_ruby/models/create_web_input_request'
49
+ require 'mux_ruby/models/drm_configuration'
50
+ require 'mux_ruby/models/drm_configuration_response'
49
51
  require 'mux_ruby/models/delivery_report'
50
52
  require 'mux_ruby/models/delivery_report_delivered_seconds_by_resolution'
51
53
  require 'mux_ruby/models/dimension_value'
@@ -90,6 +92,7 @@ require 'mux_ruby/models/list_all_metric_values_response'
90
92
  require 'mux_ruby/models/list_assets_response'
91
93
  require 'mux_ruby/models/list_breakdown_values_response'
92
94
  require 'mux_ruby/models/list_breakdown_values_response_meta'
95
+ require 'mux_ruby/models/list_drm_configurations_response'
93
96
  require 'mux_ruby/models/list_delivery_usage_response'
94
97
  require 'mux_ruby/models/list_dimension_values_response'
95
98
  require 'mux_ruby/models/list_dimensions_response'
@@ -181,6 +184,7 @@ require 'mux_ruby/models/web_input_response'
181
184
 
182
185
  # APIs
183
186
  require 'mux_ruby/api/assets_api'
187
+ require 'mux_ruby/api/drm_configurations_api'
184
188
  require 'mux_ruby/api/delivery_usage_api'
185
189
  require 'mux_ruby/api/dimensions_api'
186
190
  require 'mux_ruby/api/direct_uploads_api'
@@ -0,0 +1,60 @@
1
+ =begin
2
+ #Mux API
3
+
4
+ #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for MuxRuby::DRMConfigurationsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DRMConfigurationsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MuxRuby::DRMConfigurationsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DRMConfigurationsApi' do
30
+ it 'should create an instance of DRMConfigurationsApi' do
31
+ expect(@api_instance).to be_instance_of(MuxRuby::DRMConfigurationsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_drm_configuration
36
+ # Retrieve a DRM Configuration
37
+ # Retrieves a single DRM Configuration.
38
+ # @param drm_configuration_id The DRM Configuration ID.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [DRMConfigurationResponse]
41
+ describe 'get_drm_configuration test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for list_drm_configurations
48
+ # List DRM Configurations
49
+ # Returns a list of DRM Configurations
50
+ # @param [Hash] opts the optional parameters
51
+ # @option opts [Integer] :page Offset by this many pages, of the size of &#x60;limit&#x60;
52
+ # @option opts [Integer] :limit Number of items to include in the response
53
+ # @return [ListDRMConfigurationsResponse]
54
+ describe 'list_drm_configurations test' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Mux API
3
+
4
+ #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::DRMConfigurationResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::DRMConfigurationResponse do
21
+ let(:instance) { MuxRuby::DRMConfigurationResponse.new }
22
+
23
+ describe 'test an instance of DRMConfigurationResponse' do
24
+ it 'should create an instance of DRMConfigurationResponse' do
25
+ expect(instance).to be_instance_of(MuxRuby::DRMConfigurationResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Mux API
3
+
4
+ #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::DRMConfiguration
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::DRMConfiguration do
21
+ let(:instance) { MuxRuby::DRMConfiguration.new }
22
+
23
+ describe 'test an instance of DRMConfiguration' do
24
+ it 'should create an instance of DRMConfiguration' do
25
+ expect(instance).to be_instance_of(MuxRuby::DRMConfiguration)
26
+ end
27
+ end
28
+ describe 'test attribute "id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Mux API
3
+
4
+ #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MuxRuby::ListDRMConfigurationsResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MuxRuby::ListDRMConfigurationsResponse do
21
+ let(:instance) { MuxRuby::ListDRMConfigurationsResponse.new }
22
+
23
+ describe 'test an instance of ListDRMConfigurationsResponse' do
24
+ it 'should create an instance of ListDRMConfigurationsResponse' do
25
+ expect(instance).to be_instance_of(MuxRuby::ListDRMConfigurationsResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -1,12 +1,12 @@
1
1
  current directory: /home/runner/work/mux-ruby/mux-ruby/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug
2
- /opt/hostedtoolcache/Ruby/3.2.4/x64/bin/ruby extconf.rb
2
+ /opt/hostedtoolcache/Ruby/3.2.5/x64/bin/ruby extconf.rb
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/runner/work/mux-ruby/mux-ruby/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug
6
- make DESTDIR\= sitearchdir\=./.gem.20240507-1757-cbs82c sitelibdir\=./.gem.20240507-1757-cbs82c clean
6
+ make DESTDIR\= sitearchdir\=./.gem.20240829-1813-3l21j2 sitelibdir\=./.gem.20240829-1813-3l21j2 clean
7
7
 
8
8
  current directory: /home/runner/work/mux-ruby/mux-ruby/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug
9
- make DESTDIR\= sitearchdir\=./.gem.20240507-1757-cbs82c sitelibdir\=./.gem.20240507-1757-cbs82c
9
+ make DESTDIR\= sitearchdir\=./.gem.20240829-1813-3l21j2 sitelibdir\=./.gem.20240829-1813-3l21j2
10
10
  compiling breakpoint.c
11
11
  compiling byebug.c
12
12
  byebug.c: In function ‘check_started’:
@@ -35,8 +35,8 @@ compiling threads.c
35
35
  linking shared-object byebug/byebug.so
36
36
 
37
37
  current directory: /home/runner/work/mux-ruby/mux-ruby/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug
38
- make DESTDIR\= sitearchdir\=./.gem.20240507-1757-cbs82c sitelibdir\=./.gem.20240507-1757-cbs82c install
39
- /usr/bin/install -c -m 0755 byebug.so ./.gem.20240507-1757-cbs82c/byebug
38
+ make DESTDIR\= sitearchdir\=./.gem.20240829-1813-3l21j2 sitelibdir\=./.gem.20240829-1813-3l21j2 install
39
+ /usr/bin/install -c -m 0755 byebug.so ./.gem.20240829-1813-3l21j2/byebug
40
40
 
41
41
  current directory: /home/runner/work/mux-ruby/mux-ruby/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug
42
- make DESTDIR\= sitearchdir\=./.gem.20240507-1757-cbs82c sitelibdir\=./.gem.20240507-1757-cbs82c clean
42
+ make DESTDIR\= sitearchdir\=./.gem.20240829-1813-3l21j2 sitelibdir\=./.gem.20240829-1813-3l21j2 clean
@@ -1,5 +1,5 @@
1
1
  current directory: /home/runner/work/mux-ruby/mux-ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/ext/ffi_c
2
- /opt/hostedtoolcache/Ruby/3.2.4/x64/bin/ruby extconf.rb
2
+ /opt/hostedtoolcache/Ruby/3.2.5/x64/bin/ruby extconf.rb
3
3
  checking for ffi_prep_closure_loc() in -lffi... yes
4
4
  checking for ffi_prep_cif_var()... yes
5
5
  checking for ffi_raw_call()... yes
@@ -10,10 +10,10 @@ creating extconf.h
10
10
  creating Makefile
11
11
 
12
12
  current directory: /home/runner/work/mux-ruby/mux-ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/ext/ffi_c
13
- make DESTDIR\= sitearchdir\=./.gem.20240507-1757-97zpcl sitelibdir\=./.gem.20240507-1757-97zpcl clean
13
+ make DESTDIR\= sitearchdir\=./.gem.20240829-1813-xit14j sitelibdir\=./.gem.20240829-1813-xit14j clean
14
14
 
15
15
  current directory: /home/runner/work/mux-ruby/mux-ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/ext/ffi_c
16
- make DESTDIR\= sitearchdir\=./.gem.20240507-1757-97zpcl sitelibdir\=./.gem.20240507-1757-97zpcl
16
+ make DESTDIR\= sitearchdir\=./.gem.20240829-1813-xit14j sitelibdir\=./.gem.20240829-1813-xit14j
17
17
  compiling AbstractMemory.c
18
18
  compiling ArrayType.c
19
19
  compiling Buffer.c
@@ -40,8 +40,8 @@ compiling ffi.c
40
40
  linking shared-object ffi_c.so
41
41
 
42
42
  current directory: /home/runner/work/mux-ruby/mux-ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/ext/ffi_c
43
- make DESTDIR\= sitearchdir\=./.gem.20240507-1757-97zpcl sitelibdir\=./.gem.20240507-1757-97zpcl install
44
- /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20240507-1757-97zpcl
43
+ make DESTDIR\= sitearchdir\=./.gem.20240829-1813-xit14j sitelibdir\=./.gem.20240829-1813-xit14j install
44
+ /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20240829-1813-xit14j
45
45
 
46
46
  current directory: /home/runner/work/mux-ruby/mux-ruby/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/ext/ffi_c
47
- make DESTDIR\= sitearchdir\=./.gem.20240507-1757-97zpcl sitelibdir\=./.gem.20240507-1757-97zpcl clean
47
+ make DESTDIR\= sitearchdir\=./.gem.20240829-1813-xit14j sitelibdir\=./.gem.20240829-1813-xit14j clean