Class: Peddler::Notifications::AnyOfferChanged::SalesRanking
- Inherits:
-
Data
- Object
- Data
- Peddler::Notifications::AnyOfferChanged::SalesRanking
- Defined in:
- sig/peddler/notifications/any_offer_changed.rbs
Instance Attribute Summary collapse
-
#product_category_id ⇒ String
readonly
Returns the value of attribute product_category_id.
-
#rank ⇒ Integer
readonly
Returns the value of attribute rank.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :product_category_id, :rank ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::Notifications::AnyOfferChanged::SalesRanking
Instance Method Summary collapse
Instance Attribute Details
#product_category_id ⇒ String (readonly)
Returns the value of attribute product_category_id.
238 239 240 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 238 def product_category_id @product_category_id end |
#rank ⇒ Integer (readonly)
Returns the value of attribute rank.
239 240 241 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 239 def rank @rank end |
Class Method Details
.[](product_category_id:, rank:) ⇒ Peddler::Notifications::AnyOfferChanged::SalesRanking .[](arg0, arg1) ⇒ Peddler::Notifications::AnyOfferChanged::SalesRanking
231 232 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 231
def self.[]: (product_category_id: String, rank: Integer) -> Peddler::Notifications::AnyOfferChanged::SalesRanking
| (String, Integer) -> Peddler::Notifications::AnyOfferChanged::SalesRanking
|
.members ⇒ [ :product_category_id, :rank ]
234 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 234
def self.members: () -> [ :product_category_id, :rank ]
|
.new(product_category_id:, rank:) ⇒ Peddler::Notifications::AnyOfferChanged::SalesRanking .new(arg0, arg1) ⇒ Peddler::Notifications::AnyOfferChanged::SalesRanking
229 230 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 229
def self.new: (product_category_id: String, rank: Integer) -> Peddler::Notifications::AnyOfferChanged::SalesRanking
| (String, Integer) -> Peddler::Notifications::AnyOfferChanged::SalesRanking
|
.parse ⇒ Peddler::Notifications::AnyOfferChanged::SalesRanking
236 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 236
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::AnyOfferChanged::SalesRanking
|
Instance Method Details
#members ⇒ [ :product_category_id, :rank ]
241 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 241
def members: () -> [ :product_category_id, :rank ]
|
#to_h ⇒ { product_category_id: String, rank: Integer }
242 |
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 242
def to_h: () -> { product_category_id: String, rank: Integer }
|