Class: Cielo24::CommonOptions

Inherits:
BaseOptions show all
Defined in:
lib/cielo24/options.rb

Direct Known Subclasses

CaptionOptions, TranscriptionOptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseOptions

#get_hash, #populate_from_hash, #populate_from_key_value_pair, #to_query

Constructor Details

#initialize(characters_per_caption_line: nil, elementlist_version: nil, emit_speaker_change_token_as: nil, mask_profanity: nil, remove_sounds_list: nil, remove_sound_references: nil, replace_slang: nil, sound_boundaries: nil) ⇒ CommonOptions

Returns a new instance of CommonOptions.



52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# File 'lib/cielo24/options.rb', line 52

def initialize(characters_per_caption_line: nil,
               elementlist_version: nil,
               emit_speaker_change_token_as: nil,
               mask_profanity: nil,
               remove_sounds_list: nil,
               remove_sound_references: nil,
               replace_slang: nil,
               sound_boundaries: nil)
  @characters_per_caption_line = characters_per_caption_line
  @elementlist_version = elementlist_version
  @emit_speaker_change_token_as = emit_speaker_change_token_as
  @mask_profanity = mask_profanity
  @remove_sounds_list = remove_sounds_list
  @remove_sound_references = remove_sound_references
  @replace_slang = replace_slang
  @sound_boundaries = sound_boundaries
end

Instance Attribute Details

#characters_per_caption_lineObject

Returns the value of attribute characters_per_caption_line.



43
44
45
# File 'lib/cielo24/options.rb', line 43

def characters_per_caption_line
  @characters_per_caption_line
end

#elementlist_versionObject

Returns the value of attribute elementlist_version.



44
45
46
# File 'lib/cielo24/options.rb', line 44

def elementlist_version
  @elementlist_version
end

#emit_speaker_change_token_asObject

Returns the value of attribute emit_speaker_change_token_as.



45
46
47
# File 'lib/cielo24/options.rb', line 45

def emit_speaker_change_token_as
  @emit_speaker_change_token_as
end

#mask_profanityObject

Returns the value of attribute mask_profanity.



46
47
48
# File 'lib/cielo24/options.rb', line 46

def mask_profanity
  @mask_profanity
end

#remove_sound_referencesObject

Returns the value of attribute remove_sound_references.



48
49
50
# File 'lib/cielo24/options.rb', line 48

def remove_sound_references
  @remove_sound_references
end

#remove_sounds_listObject

Returns the value of attribute remove_sounds_list.



47
48
49
# File 'lib/cielo24/options.rb', line 47

def remove_sounds_list
  @remove_sounds_list
end

#replace_slangObject

Returns the value of attribute replace_slang.



49
50
51
# File 'lib/cielo24/options.rb', line 49

def replace_slang
  @replace_slang
end

#sound_boundariesObject

Returns the value of attribute sound_boundaries.



50
51
52
# File 'lib/cielo24/options.rb', line 50

def sound_boundaries
  @sound_boundaries
end