Class: Peddler::Notifications::AnyOfferChanged::Points

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/notifications/any_offer_changed.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#points_numberInteger (readonly)

Returns the value of attribute points_number.

Returns:

  • (Integer)


203
204
205
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 203

def points_number
  @points_number
end

Class Method Details

.[](points_number:) ⇒ Peddler::Notifications::AnyOfferChanged::Points .[](arg0) ⇒ Peddler::Notifications::AnyOfferChanged::Points

Overloads:



196
197
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 196

def self.[]: (points_number: Integer) -> Peddler::Notifications::AnyOfferChanged::Points
| (Integer) -> Peddler::Notifications::AnyOfferChanged::Points

.members[ :points_number ]

Returns:

  • ([ :points_number ])


199
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 199

def self.members: () -> [ :points_number ]

.new(points_number:) ⇒ Peddler::Notifications::AnyOfferChanged::Points .new(arg0) ⇒ Peddler::Notifications::AnyOfferChanged::Points

Overloads:



194
195
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 194

def self.new: (points_number: Integer) -> Peddler::Notifications::AnyOfferChanged::Points
| (Integer) -> Peddler::Notifications::AnyOfferChanged::Points

.parsePeddler::Notifications::AnyOfferChanged::Points

Parameters:

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

Returns:



201
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 201

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Notifications::AnyOfferChanged::Points

Instance Method Details

#members[ :points_number ]

Returns:

  • ([ :points_number ])


205
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 205

def members: () -> [ :points_number ]

#to_h{ points_number: Integer }

Returns:

  • ({ points_number: Integer })


206
# File 'sig/peddler/notifications/any_offer_changed.rbs', line 206

def to_h: () -> { points_number: Integer }