Class: Fizzy::Types::CreatePushSubscriptionRequestContent
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::CreatePushSubscriptionRequestContent
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#auth_key ⇒ Object
readonly
Returns the value of attribute auth_key.
-
#endpoint ⇒ Object
readonly
Returns the value of attribute endpoint.
-
#p256dh_key ⇒ Object
readonly
Returns the value of attribute p256dh_key.
Class Method Summary collapse
Instance Attribute Details
#auth_key ⇒ Object (readonly)
Returns the value of attribute auth_key
435 436 437 |
# File 'lib/fizzy/generated/types.rb', line 435 def auth_key @auth_key end |
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint
435 436 437 |
# File 'lib/fizzy/generated/types.rb', line 435 def endpoint @endpoint end |
#p256dh_key ⇒ Object (readonly)
Returns the value of attribute p256dh_key
435 436 437 |
# File 'lib/fizzy/generated/types.rb', line 435 def p256dh_key @p256dh_key end |
Class Method Details
.from_json(data) ⇒ Object
437 438 439 440 441 442 443 |
# File 'lib/fizzy/generated/types.rb', line 437 def self.from_json(data) new( endpoint: data["endpoint"], p256dh_key: data["p256dh_key"], auth_key: data["auth_key"] ) end |