Class: Peddler::APIs::Vehicles20241101::EngineOutput
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Vehicles20241101::EngineOutput
- Defined in:
- sig/peddler/apis/vehicles_2024_11_01.rbs
Instance Attribute Summary collapse
-
#unit ⇒ String
readonly
Returns the value of attribute unit.
-
#value ⇒ Float
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :unit, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Vehicles20241101::EngineOutput
Instance Method Summary collapse
Instance Attribute Details
#unit ⇒ String (readonly)
Returns the value of attribute unit.
14 15 16 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 14 def unit @unit end |
#value ⇒ Float (readonly)
Returns the value of attribute value.
15 16 17 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 15 def value @value end |
Class Method Details
.[](unit:, value:) ⇒ Peddler::APIs::Vehicles20241101::EngineOutput .[](arg0, arg1) ⇒ Peddler::APIs::Vehicles20241101::EngineOutput
7 8 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 7
def self.[]: (unit: String, value: Float) -> Peddler::APIs::Vehicles20241101::EngineOutput
| (String, Float) -> Peddler::APIs::Vehicles20241101::EngineOutput
|
.members ⇒ [ :unit, :value ]
10 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 10
def self.members: () -> [ :unit, :value ]
|
.new(unit:, value:) ⇒ Peddler::APIs::Vehicles20241101::EngineOutput .new(arg0, arg1) ⇒ Peddler::APIs::Vehicles20241101::EngineOutput
5 6 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 5
def self.new: (unit: String, value: Float) -> Peddler::APIs::Vehicles20241101::EngineOutput
| (String, Float) -> Peddler::APIs::Vehicles20241101::EngineOutput
|
.parse ⇒ Peddler::APIs::Vehicles20241101::EngineOutput
12 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 12
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Vehicles20241101::EngineOutput
|
Instance Method Details
#members ⇒ [ :unit, :value ]
17 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 17
def members: () -> [ :unit, :value ]
|
#to_h ⇒ { unit: String, value: Float }
18 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 18
def to_h: () -> { unit: String, value: Float }
|