Class: Peddler::APIs::Promotions20251201::ClaimCode
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Promotions20251201::ClaimCode
- Defined in:
- sig/peddler/apis/promotions_2025_12_01.rbs
Instance Attribute Summary collapse
-
#type ⇒ String
readonly
Returns the value of attribute type.
-
#value ⇒ String?
readonly
Returns the value of attribute value.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :type, :value ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Promotions20251201::ClaimCode
Instance Method Summary collapse
Instance Attribute Details
#type ⇒ String (readonly)
Returns the value of attribute type.
82 83 84 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 82 def type @type end |
#value ⇒ String? (readonly)
Returns the value of attribute value.
83 84 85 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 83 def value @value end |
Class Method Details
.[](type:, value:) ⇒ Peddler::APIs::Promotions20251201::ClaimCode .[](arg0, arg1) ⇒ Peddler::APIs::Promotions20251201::ClaimCode
75 76 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 75
def self.[]: (type: String, ?value: String?) -> Peddler::APIs::Promotions20251201::ClaimCode
| (String, String?) -> Peddler::APIs::Promotions20251201::ClaimCode
|
.members ⇒ [ :type, :value ]
78 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 78
def self.members: () -> [ :type, :value ]
|
.new(type:, value:) ⇒ Peddler::APIs::Promotions20251201::ClaimCode .new(arg0, arg1) ⇒ Peddler::APIs::Promotions20251201::ClaimCode
73 74 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 73
def self.new: (type: String, ?value: String?) -> Peddler::APIs::Promotions20251201::ClaimCode
| (String, String?) -> Peddler::APIs::Promotions20251201::ClaimCode
|
.parse ⇒ Peddler::APIs::Promotions20251201::ClaimCode
80 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 80
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Promotions20251201::ClaimCode
|
Instance Method Details
#members ⇒ [ :type, :value ]
85 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 85
def members: () -> [ :type, :value ]
|
#to_h ⇒ { type: String, value: String? }
86 |
# File 'sig/peddler/apis/promotions_2025_12_01.rbs', line 86
def to_h: () -> { type: String, value: String? }
|