Class: FastpixApiSDK::Models::Operations::Subtitles
- Inherits:
-
Object
- Object
- FastpixApiSDK::Models::Operations::Subtitles
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_api_sdk/models/operations/subtitles.rb
Overview
Generates subtitle files for audio/video files.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(language_name: nil, metadata: nil, language_code: nil) ⇒ Subtitles
constructor
A new instance of Subtitles.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(language_name: nil, metadata: nil, language_code: nil) ⇒ Subtitles
Returns a new instance of Subtitles.
26 27 28 29 30 |
# File 'lib/fastpix_api_sdk/models/operations/subtitles.rb', line 26 def initialize(language_name: nil, metadata: nil, language_code: nil) @language_name = language_name = @language_code = language_code end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/fastpix_api_sdk/models/operations/subtitles.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @language_name == other.language_name return false unless == other. return false unless @language_code == other.language_code true end |