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
446 447 448 |
# File 'lib/fizzy/generated/types.rb', line 446 def auth_key @auth_key end |
#endpoint ⇒ Object (readonly)
Returns the value of attribute endpoint
446 447 448 |
# File 'lib/fizzy/generated/types.rb', line 446 def endpoint @endpoint end |
#p256dh_key ⇒ Object (readonly)
Returns the value of attribute p256dh_key
446 447 448 |
# File 'lib/fizzy/generated/types.rb', line 446 def p256dh_key @p256dh_key end |
Class Method Details
.from_json(data) ⇒ Object
448 449 450 451 452 453 454 |
# File 'lib/fizzy/generated/types.rb', line 448 def self.from_json(data) new( endpoint: data["endpoint"], p256dh_key: data["p256dh_key"], auth_key: data["auth_key"] ) end |