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)


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

def height
  @height
end

Returns the value of attribute link.

Returns:

  • (String)


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

def link
  @link
end

#widthInteger (readonly)

Returns the value of attribute width.

Returns:

  • (Integer)


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

def width
  @width
end

Class Method Details

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

Overloads:



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

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 ])


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

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

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

Overloads:



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

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:



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

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

Instance Method Details

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

Returns:

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


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

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

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

Returns:

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


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

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