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.
21 22 23 |
# File 'lib/fog/storm_on_demand/models/compute/notification.rb', line 21 def initialize(attributes={}) super end |
Instance Method Details
#resolve ⇒ Object
25 26 27 28 |
# File 'lib/fog/storm_on_demand/models/compute/notification.rb', line 25 def resolve requires :identity service.resolve_notification(:id => identity).body end |