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.
130 131 132 |
# File 'lib/google/apis/messages/classes.rb', line 130 def initialize(**args) update!(**args) end |
Instance Attribute Details
#icon ⇒ Object
Returns the value of attribute icon.
128 129 130 |
# File 'lib/google/apis/messages/classes.rb', line 128 def icon @icon end |
Instance Method Details
#update!(**args) ⇒ Object
134 135 136 |
# File 'lib/google/apis/messages/classes.rb', line 134 def update!(**args) @icon = args[:icon] if args.key?(:icon) end |