Class: Peddler::APIs::Promotions20251201::Merchandising

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

#display_on_websiteString? (readonly)

Returns the value of attribute display_on_website.

Returns:

  • (String, nil)


362
363
364
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 362

def display_on_website
  @display_on_website
end

Class Method Details

.[](display_on_website:) ⇒ Peddler::APIs::Promotions20251201::Merchandising .[](arg0) ⇒ Peddler::APIs::Promotions20251201::Merchandising

Overloads:



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

def self.[]: (?display_on_website: String?) -> Peddler::APIs::Promotions20251201::Merchandising
| (String?) -> Peddler::APIs::Promotions20251201::Merchandising

.members[ :display_on_website ]

Returns:

  • ([ :display_on_website ])


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

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

.new(display_on_website:) ⇒ Peddler::APIs::Promotions20251201::Merchandising .new(arg0) ⇒ Peddler::APIs::Promotions20251201::Merchandising

Overloads:



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

def self.new: (?display_on_website: String?) -> Peddler::APIs::Promotions20251201::Merchandising
| (String?) -> Peddler::APIs::Promotions20251201::Merchandising

.parsePeddler::APIs::Promotions20251201::Merchandising

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :display_on_website ]

Returns:

  • ([ :display_on_website ])


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

def members: () -> [ :display_on_website ]

#to_h{ display_on_website: String? }

Returns:

  • ({ display_on_website: String? })


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

def to_h: () -> { display_on_website: String? }