class Nucleo::Models::PageAlerts
Public Class Methods
new(attributes={})
click to toggle source
Returns an instance of Page
Alerts
@param attributes [Hash]
@return [Nucleo::Models::PageAlerts]
# File lib/nucleo/models/page_alerts.rb, line 11 def initialize(attributes={}) @attributes = attributes end
retrieve(id, params={})
click to toggle source
# 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
Public Instance Methods
alerts()
click to toggle source
# File lib/nucleo/models/page_alerts.rb, line 21 def alerts Nucleo::Models::Feeds.new(@attributes) end