Class: Peddler::APIs::Transfers20240601::ExpiryDate

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/transfers_2024_06_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#monthString? (readonly)

Returns the value of attribute month.

Returns:

  • (String, nil)


71
72
73
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 71

def month
  @month
end

#yearString? (readonly)

Returns the value of attribute year.

Returns:

  • (String, nil)


72
73
74
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 72

def year
  @year
end

Class Method Details

.[](month:, year:) ⇒ Peddler::APIs::Transfers20240601::ExpiryDate .[](arg0, arg1) ⇒ Peddler::APIs::Transfers20240601::ExpiryDate

Overloads:



64
65
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 64

def self.[]: (?month: String?, ?year: String?) -> Peddler::APIs::Transfers20240601::ExpiryDate
| (String?, String?) -> Peddler::APIs::Transfers20240601::ExpiryDate

.members[ :month, :year ]

Returns:

  • ([ :month, :year ])


67
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 67

def self.members: () -> [ :month, :year ]

.new(month:, year:) ⇒ Peddler::APIs::Transfers20240601::ExpiryDate .new(arg0, arg1) ⇒ Peddler::APIs::Transfers20240601::ExpiryDate

Overloads:



62
63
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 62

def self.new: (?month: String?, ?year: String?) -> Peddler::APIs::Transfers20240601::ExpiryDate
| (String?, String?) -> Peddler::APIs::Transfers20240601::ExpiryDate

.parsePeddler::APIs::Transfers20240601::ExpiryDate

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



69
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 69

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Transfers20240601::ExpiryDate

Instance Method Details

#members[ :month, :year ]

Returns:

  • ([ :month, :year ])


74
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 74

def members: () -> [ :month, :year ]

#to_h{ month: String?, year: String? }

Returns:

  • ({ month: String?, year: String? })


75
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 75

def to_h: () -> { month: String?, year: String? }