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)


48
49
50
# File 'sig/peddler/apis/transfers_2024_06_01.rbs', line 48

def month
  @month
end

#yearString? (readonly)

Returns the value of attribute year.

Returns:

  • (String, nil)


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

Overloads:



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 ]

Returns:

  • ([ :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

Overloads:



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

.parsePeddler::APIs::Transfers20240601::ExpiryDate

Parameters:

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

Returns:



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 ]

Returns:

  • ([ :month, :year ])


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

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

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

Returns:

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


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

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