Class: Nucleo::Models::PageAlerts
- Inherits:
-
Object
- Object
- Nucleo::Models::PageAlerts
- Defined in:
- lib/nucleo/models/page_alerts.rb
Class Method Summary collapse
Instance Method Summary collapse
- #alerts ⇒ Object
-
#initialize(attributes = {}) ⇒ Nucleo::Models::PageAlerts
constructor
Returns an instance of Page Alerts.
Constructor Details
#initialize(attributes = {}) ⇒ Nucleo::Models::PageAlerts
Returns an instance of Page Alerts
11 12 13 |
# File 'lib/nucleo/models/page_alerts.rb', line 11 def initialize(attributes={}) @attributes = attributes end |
Class Method Details
.retrieve(id, params = {}) ⇒ Object
15 16 17 18 19 |
# File 'lib/nucleo/models/page_alerts.rb', line 15 def self.retrieve(id, params={}) response_body = Nucleo::Requests::PageAlerts.retrieve(id, params) self.new(response_body) end |