class ESP::Dashboard
Public Class Methods
find(*)
click to toggle source
Not Implemented. You cannot search for a Dashboard
.
Regular ARELlike methods are disabled.
@return [void]
# File lib/esp/resources/dashboard.rb, line 8 def self.find(*) fail ESP::NotImplementedError, 'Regular ARELlike methods are disabled. Use the .recent method.' end
recent()
click to toggle source
@api private Returns with data from reports run in the last 2 hours
@return [ESP::Dashboard]
# File lib/esp/resources/dashboard.rb, line 41 def self.recent # call find_every directly since find is overridden/not implemented where from: "#{prefix}dashboard/recent" end
where(attrs)
click to toggle source
Not Implemented. You cannot search for a Dashboard
.
Regular ARELlike methods are disabled.
@return [void]
Calls superclass method
ESP::Resource::where
# File lib/esp/resources/dashboard.rb, line 17 def self.where(attrs) # when calling `recent.next_page` it will come into here return super if attrs[:from].to_s.include?('recent') fail ESP::NotImplementedError, 'Regular ARELlike methods are disabled. Use the .recent method.' end
Public Instance Methods
destroy()
click to toggle source
Not Implemented. You cannot destroy a Dashboard
.
@return [void]
# File lib/esp/resources/dashboard.rb, line 33 def destroy fail ESP::NotImplementedError end
save()
click to toggle source
Not Implemented. You cannot create or update a Dashboard
.
@return [void]
# File lib/esp/resources/dashboard.rb, line 26 def save fail ESP::NotImplementedError end