Class: Peddler::APIs::Promotions20251201::BrandSegmentDetails

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

#brand_idString (readonly)

Returns the value of attribute brand_id.

Returns:

  • (String)


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

def brand_id
  @brand_id
end

Class Method Details

.[](brand_id:) ⇒ Peddler::APIs::Promotions20251201::BrandSegmentDetails .[](arg0) ⇒ Peddler::APIs::Promotions20251201::BrandSegmentDetails



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

def self.[]: (brand_id: String) -> Peddler::APIs::Promotions20251201::BrandSegmentDetails
| (String) -> Peddler::APIs::Promotions20251201::BrandSegmentDetails

.members[ :brand_id ]

Returns:

  • ([ :brand_id ])


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

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

.new(brand_id:) ⇒ Peddler::APIs::Promotions20251201::BrandSegmentDetails .new(arg0) ⇒ Peddler::APIs::Promotions20251201::BrandSegmentDetails



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

def self.new: (brand_id: String) -> Peddler::APIs::Promotions20251201::BrandSegmentDetails
| (String) -> Peddler::APIs::Promotions20251201::BrandSegmentDetails

.parsePeddler::APIs::Promotions20251201::BrandSegmentDetails

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :brand_id ]

Returns:

  • ([ :brand_id ])


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

def members: () -> [ :brand_id ]

#to_h{ brand_id: String }

Returns:

  • ({ brand_id: String })


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

def to_h: () -> { brand_id: String }