Class: Peddler::APIs::ActionItems20260601::LocalizedText

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#locale ⇒ String (readonly)

Returns the value of attribute locale.

Returns:

  • (String)


311
312
313
# File 'sig/peddler/apis/action_items_2026_06_01.rbs', line 311

def locale
  @locale
end

#text ⇒ String (readonly)

Returns the value of attribute text.

Returns:

  • (String)


312
313
314
# File 'sig/peddler/apis/action_items_2026_06_01.rbs', line 312

def text
  @text
end

Class Method Details

.[](locale:, text:) ⇒ Peddler::APIs::ActionItems20260601::LocalizedText .[](arg0, arg1) ⇒ Peddler::APIs::ActionItems20260601::LocalizedText

Overloads:



304
305
# File 'sig/peddler/apis/action_items_2026_06_01.rbs', line 304

def self.[]: (locale: String, text: String) -> Peddler::APIs::ActionItems20260601::LocalizedText
| (String, String) -> Peddler::APIs::ActionItems20260601::LocalizedText

.members ⇒ [ :locale, :text ]

Returns:

  • ([ :locale, :text ])


307
# File 'sig/peddler/apis/action_items_2026_06_01.rbs', line 307

def self.members: () -> [ :locale, :text ]

.new(locale:, text:) ⇒ Peddler::APIs::ActionItems20260601::LocalizedText .new(arg0, arg1) ⇒ Peddler::APIs::ActionItems20260601::LocalizedText

Overloads:



302
303
# File 'sig/peddler/apis/action_items_2026_06_01.rbs', line 302

def self.new: (locale: String, text: String) -> Peddler::APIs::ActionItems20260601::LocalizedText
| (String, String) -> Peddler::APIs::ActionItems20260601::LocalizedText

.parse ⇒ Peddler::APIs::ActionItems20260601::LocalizedText

Parameters:

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

Returns:



309
# File 'sig/peddler/apis/action_items_2026_06_01.rbs', line 309

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

Instance Method Details

#members ⇒ [ :locale, :text ]

Returns:

  • ([ :locale, :text ])


314
# File 'sig/peddler/apis/action_items_2026_06_01.rbs', line 314

def members: () -> [ :locale, :text ]

#to_h ⇒ { locale: String, text: String }

Returns:

  • ({ locale: String, text: String })


315
# File 'sig/peddler/apis/action_items_2026_06_01.rbs', line 315

def to_h: () -> { locale: String, text: String }