Class: Peddler::APIs::Transfers20240601::ExpiryDate
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Transfers20240601::ExpiryDate
- Defined in:
- sig/peddler/apis/transfers_2024_06_01.rbs
Instance Attribute Summary collapse
-
#month ⇒ String?
readonly
Returns the value of attribute month.
-
#year ⇒ String?
readonly
Returns the value of attribute year.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :month, :year ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Transfers20240601::ExpiryDate
Instance Method Summary collapse
Instance Attribute Details
#month ⇒ String? (readonly)
Returns the value of attribute month.
48 49 50 |
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 48 def month @month end |
#year ⇒ String? (readonly)
Returns the value of attribute year.
49 50 51 |
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 49 def year @year end |
Class Method Details
.[](month:, year:) ⇒ Peddler::APIs::Transfers20240601::ExpiryDate .[](arg0, arg1) ⇒ Peddler::APIs::Transfers20240601::ExpiryDate
41 42 |
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 41
def self.[]: (?month: String?, ?year: String?) -> Peddler::APIs::Transfers20240601::ExpiryDate
| (String?, String?) -> Peddler::APIs::Transfers20240601::ExpiryDate
|
.members ⇒ [ :month, :year ]
44 |
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 44
def self.members: () -> [ :month, :year ]
|
.new(month:, year:) ⇒ Peddler::APIs::Transfers20240601::ExpiryDate .new(arg0, arg1) ⇒ Peddler::APIs::Transfers20240601::ExpiryDate
39 40 |
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 39
def self.new: (?month: String?, ?year: String?) -> Peddler::APIs::Transfers20240601::ExpiryDate
| (String?, String?) -> Peddler::APIs::Transfers20240601::ExpiryDate
|
.parse ⇒ Peddler::APIs::Transfers20240601::ExpiryDate
46 |
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 46
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Transfers20240601::ExpiryDate
|
Instance Method Details
#members ⇒ [ :month, :year ]
51 |
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 51
def members: () -> [ :month, :year ]
|
#to_h ⇒ { month: String?, year: String? }
52 |
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 52
def to_h: () -> { month: String?, year: String? }
|