Class: Peddler::APIs::Vehicles20241101::MonthAndYear
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Vehicles20241101::MonthAndYear
- Defined in:
- sig/peddler/apis/vehicles_2024_11_01.rbs
Instance Attribute Summary collapse
-
#month ⇒ Float?
readonly
Returns the value of attribute month.
-
#year ⇒ Float?
readonly
Returns the value of attribute year.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :month, :year ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Vehicles20241101::MonthAndYear
Instance Method Summary collapse
Instance Attribute Details
#month ⇒ Float? (readonly)
Returns the value of attribute month.
65 66 67 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 65 def month @month end |
#year ⇒ Float? (readonly)
Returns the value of attribute year.
66 67 68 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 66 def year @year end |
Class Method Details
.[](month:, year:) ⇒ Peddler::APIs::Vehicles20241101::MonthAndYear .[](arg0, arg1) ⇒ Peddler::APIs::Vehicles20241101::MonthAndYear
58 59 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 58
def self.[]: (?month: Float?, ?year: Float?) -> Peddler::APIs::Vehicles20241101::MonthAndYear
| (Float?, Float?) -> Peddler::APIs::Vehicles20241101::MonthAndYear
|
.members ⇒ [ :month, :year ]
61 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 61
def self.members: () -> [ :month, :year ]
|
.new(month:, year:) ⇒ Peddler::APIs::Vehicles20241101::MonthAndYear .new(arg0, arg1) ⇒ Peddler::APIs::Vehicles20241101::MonthAndYear
56 57 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 56
def self.new: (?month: Float?, ?year: Float?) -> Peddler::APIs::Vehicles20241101::MonthAndYear
| (Float?, Float?) -> Peddler::APIs::Vehicles20241101::MonthAndYear
|
.parse ⇒ Peddler::APIs::Vehicles20241101::MonthAndYear
63 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 63
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Vehicles20241101::MonthAndYear
|
Instance Method Details
#members ⇒ [ :month, :year ]
68 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 68
def members: () -> [ :month, :year ]
|
#to_h ⇒ { month: Float?, year: Float? }
69 |
# File 'sig/peddler/apis/vehicles_2024_11_01.rbs', line 69
def to_h: () -> { month: Float?, year: Float? }
|