Class: Peddler::APIs::ListingsItems20210801::ItemImage

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#heightInteger (readonly)

Returns the value of attribute height.

Returns:

  • (Integer)


198
199
200
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 198

def height
  @height
end

Returns the value of attribute link.

Returns:

  • (String)


199
200
201
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 199

def link
  @link
end

#widthInteger (readonly)

Returns the value of attribute width.

Returns:

  • (Integer)


200
201
202
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 200

def width
  @width
end

Class Method Details

.[](height:, link:, width:) ⇒ Peddler::APIs::ListingsItems20210801::ItemImage .[](arg0, arg1, arg2) ⇒ Peddler::APIs::ListingsItems20210801::ItemImage

Overloads:



191
192
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 191

def self.[]: (height: Integer, link: String, width: Integer) -> Peddler::APIs::ListingsItems20210801::ItemImage
| (Integer, String, Integer) -> Peddler::APIs::ListingsItems20210801::ItemImage

.members[ :height, :link, :width ]

Returns:

  • ([ :height, :link, :width ])


194
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 194

def self.members: () -> [ :height, :link, :width ]

.new(height:, link:, width:) ⇒ Peddler::APIs::ListingsItems20210801::ItemImage .new(arg0, arg1, arg2) ⇒ Peddler::APIs::ListingsItems20210801::ItemImage

Overloads:



189
190
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 189

def self.new: (height: Integer, link: String, width: Integer) -> Peddler::APIs::ListingsItems20210801::ItemImage
| (Integer, String, Integer) -> Peddler::APIs::ListingsItems20210801::ItemImage

.parsePeddler::APIs::ListingsItems20210801::ItemImage

Parameters:

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

Returns:



196
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 196

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

Instance Method Details

#members[ :height, :link, :width ]

Returns:

  • ([ :height, :link, :width ])


202
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 202

def members: () -> [ :height, :link, :width ]

#to_h{ height: Integer, link: String, width: Integer }

Returns:

  • ({ height: Integer, link: String, width: Integer })


203
# File 'sig/peddler/apis/listings_items_2021_08_01.rbs', line 203

def to_h: () -> { height: Integer, link: String, width: Integer }