Class: AssemblyAI::UserAgentItem

Inherits:
Object
  • Object
show all
Defined in:
lib/assemblyai/types/user_agent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:, version:) ⇒ UserAgentItem

Returns a new instance of UserAgentItem.



9
10
11
12
# File 'lib/assemblyai/types/user_agent.rb', line 9

def initialize(name:, version:)
  @name = name
  @version = version
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



7
8
9
# File 'lib/assemblyai/types/user_agent.rb', line 7

def name
  @name
end

#valueObject (readonly)

Returns the value of attribute value.



7
8
9
# File 'lib/assemblyai/types/user_agent.rb', line 7

def value
  @value
end

#versionObject (readonly)

Returns the value of attribute version.



7
8
9
# File 'lib/assemblyai/types/user_agent.rb', line 7

def version
  @version
end