Class: Peddler::APIs::ActionPlans20260601::LocalizedText
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::ActionPlans20260601::LocalizedText
- Defined in:
- sig/peddler/apis/action_plans_2026_06_01.rbs
Instance Attribute Summary collapse
-
#locale ⇒ String
readonly
Returns the value of attribute locale.
-
#text ⇒ String
readonly
Returns the value of attribute text.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :locale, :text ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::ActionPlans20260601::LocalizedText
Instance Method Summary collapse
Instance Attribute Details
#locale ⇒ String (readonly)
Returns the value of attribute locale.
316 317 318 |
# File 'sig/peddler/apis/action_plans_2026_06_01.rbs', line 316 def locale @locale end |
#text ⇒ String (readonly)
Returns the value of attribute text.
317 318 319 |
# File 'sig/peddler/apis/action_plans_2026_06_01.rbs', line 317 def text @text end |
Class Method Details
.[](locale:, text:) ⇒ Peddler::APIs::ActionPlans20260601::LocalizedText .[](arg0, arg1) ⇒ Peddler::APIs::ActionPlans20260601::LocalizedText
309 310 |
# File 'sig/peddler/apis/action_plans_2026_06_01.rbs', line 309
def self.[]: (locale: String, text: String) -> Peddler::APIs::ActionPlans20260601::LocalizedText
| (String, String) -> Peddler::APIs::ActionPlans20260601::LocalizedText
|
.members ⇒ [ :locale, :text ]
312 |
# File 'sig/peddler/apis/action_plans_2026_06_01.rbs', line 312
def self.members: () -> [ :locale, :text ]
|
.new(locale:, text:) ⇒ Peddler::APIs::ActionPlans20260601::LocalizedText .new(arg0, arg1) ⇒ Peddler::APIs::ActionPlans20260601::LocalizedText
307 308 |
# File 'sig/peddler/apis/action_plans_2026_06_01.rbs', line 307
def self.new: (locale: String, text: String) -> Peddler::APIs::ActionPlans20260601::LocalizedText
| (String, String) -> Peddler::APIs::ActionPlans20260601::LocalizedText
|
.parse ⇒ Peddler::APIs::ActionPlans20260601::LocalizedText
314 |
# File 'sig/peddler/apis/action_plans_2026_06_01.rbs', line 314
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::ActionPlans20260601::LocalizedText
|
Instance Method Details
#members ⇒ [ :locale, :text ]
319 |
# File 'sig/peddler/apis/action_plans_2026_06_01.rbs', line 319
def members: () -> [ :locale, :text ]
|
#to_h ⇒ { locale: String, text: String }
320 |
# File 'sig/peddler/apis/action_plans_2026_06_01.rbs', line 320
def to_h: () -> { locale: String, text: String }
|