Class: Peddler::APIs::Promotions20251201::GetSelectionResponse

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#selectionPeddler::APIs::Promotions20251201::Selection (readonly)

Returns the value of attribute selection.



221
222
223
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 221

def selection
  @selection
end

Class Method Details

.[](selection:) ⇒ Peddler::APIs::Promotions20251201::GetSelectionResponse .[](arg0) ⇒ Peddler::APIs::Promotions20251201::GetSelectionResponse



214
215
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 214

def self.[]: (selection: Peddler::APIs::Promotions20251201::Selection) -> Peddler::APIs::Promotions20251201::GetSelectionResponse
| (Peddler::APIs::Promotions20251201::Selection) -> Peddler::APIs::Promotions20251201::GetSelectionResponse

.members[ :selection ]

Returns:

  • ([ :selection ])


217
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 217

def self.members: () -> [ :selection ]

.new(selection:) ⇒ Peddler::APIs::Promotions20251201::GetSelectionResponse .new(arg0) ⇒ Peddler::APIs::Promotions20251201::GetSelectionResponse



212
213
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 212

def self.new: (selection: Peddler::APIs::Promotions20251201::Selection) -> Peddler::APIs::Promotions20251201::GetSelectionResponse
| (Peddler::APIs::Promotions20251201::Selection) -> Peddler::APIs::Promotions20251201::GetSelectionResponse

.parsePeddler::APIs::Promotions20251201::GetSelectionResponse

Parameters:

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

Returns:



219
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 219

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

Instance Method Details

#members[ :selection ]

Returns:

  • ([ :selection ])


223
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 223

def members: () -> [ :selection ]

#to_h{ selection: Peddler::APIs::Promotions20251201::Selection }



224
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 224

def to_h: () -> { selection: Peddler::APIs::Promotions20251201::Selection }