Class: Peddler::APIs::AplusContent20201101::StandardImageTextCaptionBlock

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#block ⇒ Peddler::APIs::AplusContent20201101::StandardImageTextBlock? (readonly)

Returns the value of attribute block.



1846
1847
1848
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1846

def block
  @block
end

#caption ⇒ Peddler::APIs::AplusContent20201101::TextComponent? (readonly)

Returns the value of attribute caption.



1847
1848
1849
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1847

def caption
  @caption
end

Class Method Details

.[](block:, caption:) ⇒ Peddler::APIs::AplusContent20201101::StandardImageTextCaptionBlock .[](arg0, arg1) ⇒ Peddler::APIs::AplusContent20201101::StandardImageTextCaptionBlock



1839
1840
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1839

def self.[]: (?block: Peddler::APIs::AplusContent20201101::StandardImageTextBlock?, ?caption: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::StandardImageTextCaptionBlock
| (Peddler::APIs::AplusContent20201101::StandardImageTextBlock?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::StandardImageTextCaptionBlock

.members ⇒ [ :block, :caption ]

Returns:

  • ([ :block, :caption ])


1842
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1842

def self.members: () -> [ :block, :caption ]

.new(block:, caption:) ⇒ Peddler::APIs::AplusContent20201101::StandardImageTextCaptionBlock .new(arg0, arg1) ⇒ Peddler::APIs::AplusContent20201101::StandardImageTextCaptionBlock



1837
1838
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1837

def self.new: (?block: Peddler::APIs::AplusContent20201101::StandardImageTextBlock?, ?caption: Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::StandardImageTextCaptionBlock
| (Peddler::APIs::AplusContent20201101::StandardImageTextBlock?, Peddler::APIs::AplusContent20201101::TextComponent?) -> Peddler::APIs::AplusContent20201101::StandardImageTextCaptionBlock

.parse ⇒ Peddler::APIs::AplusContent20201101::StandardImageTextCaptionBlock

Parameters:

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

Returns:



1844
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1844

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

Instance Method Details

#members ⇒ [ :block, :caption ]

Returns:

  • ([ :block, :caption ])


1849
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1849

def members: () -> [ :block, :caption ]

#to_h ⇒ { block: Peddler::APIs::AplusContent20201101::StandardImageTextBlock?, caption: Peddler::APIs::AplusContent20201101::TextComponent? }



1850
# File 'sig/peddler/apis/aplus_content_2020_11_01.rbs', line 1850

def to_h: () -> { block: Peddler::APIs::AplusContent20201101::StandardImageTextBlock?, caption: Peddler::APIs::AplusContent20201101::TextComponent? }