Class: AssemblyAI::UserAgentItem
- Inherits:
-
Object
- Object
- AssemblyAI::UserAgentItem
- Defined in:
- lib/assemblyai/types/user_agent.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(name:, version:) ⇒ UserAgentItem
constructor
A new instance of UserAgentItem.
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
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/assemblyai/types/user_agent.rb', line 7 def name @name end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
7 8 9 |
# File 'lib/assemblyai/types/user_agent.rb', line 7 def value @value end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
7 8 9 |
# File 'lib/assemblyai/types/user_agent.rb', line 7 def version @version end |