Class: Fog::Compute::StormOnDemand::Notification
- Inherits:
-
Model
- Object
- Model
- Fog::Compute::StormOnDemand::Notification
- Defined in:
- lib/fog/storm_on_demand/models/compute/notification.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Notification
constructor
A new instance of Notification.
- #resolve ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ Notification
Returns a new instance of Notification.
20 21 22 |
# File 'lib/fog/storm_on_demand/models/compute/notification.rb', line 20 def initialize(attributes={}) super end |
Instance Method Details
#resolve ⇒ Object
24 25 26 27 |
# File 'lib/fog/storm_on_demand/models/compute/notification.rb', line 24 def resolve requires :identity service.resolve_notification(:id => identity).body end |