Class: Retell::SDK::Unofficial::Voice

Inherits:
Base
  • Object
show all
Defined in:
lib/retell/sdk/unofficial/voice.rb

Instance Attribute Summary

Attributes inherited from Base

#changed_attributes, #client

Instance Method Summary collapse

Methods inherited from Base

#[], #[]=, #each, each_attribute, #fetch, inherited, #initialize, #keys, #to_h, #values, writeable_attributes

Constructor Details

This class inherits a constructor from Retell::SDK::Unofficial::Base

Instance Method Details

#idObject



15
16
17
# File 'lib/retell/sdk/unofficial/voice.rb', line 15

def id
  voice_id
end

#nameObject



19
20
21
# File 'lib/retell/sdk/unofficial/voice.rb', line 19

def name
  voice_name
end

#retrieveObject



11
12
13
# File 'lib/retell/sdk/unofficial/voice.rb', line 11

def retrieve
  @client.voice.retrieve(self)
end