Class: Google::Apis::Messages::WebNotification
- Inherits:
-
Object
- Object
- Google::Apis::Messages::WebNotification
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/messages/classes.rb,
lib/google/apis/messages/representations.rb
Defined Under Namespace
Classes: Representation
Instance Attribute Summary collapse
-
#icon ⇒ Object
Returns the value of attribute icon.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WebNotification
constructor
A new instance of WebNotification.
- #update!(**args) ⇒ Object
Constructor Details
#initialize(**args) ⇒ WebNotification
Returns a new instance of WebNotification.
114 115 116 |
# File 'lib/google/apis/messages/classes.rb', line 114 def initialize(**args) update!(**args) end |
Instance Attribute Details
#icon ⇒ Object
Returns the value of attribute icon.
112 113 114 |
# File 'lib/google/apis/messages/classes.rb', line 112 def icon @icon end |
Instance Method Details
#update!(**args) ⇒ Object
118 119 120 |
# File 'lib/google/apis/messages/classes.rb', line 118 def update!(**args) @icon = args[:icon] if args.key?(:icon) end |