Class LogLogMessage
In: app/models/log_log_message.rb
Parent: ActiveResource::Base

Methods

External Aliases

save -> __save__

Public Class methods

[Source]

    # File app/models/log_log_message.rb, line 15
15:   def self.initialize_global_config
16:     if GlobalConfig.done_with_basics? and GlobalConfig.use_log_log
17:       self.site = GlobalConfig.log_log_site
18:       self.user = GlobalConfig.log_log_api_key
19:       self.element_name = "message"
20:     end
21:   end

Public Instance methods

[Source]

    # File app/models/log_log_message.rb, line 24
24:   def save
25:     begin
26:       self.__save__
27:     rescue
28:       ActiveRecord::Base.logger.error "Error: LogLog enabled, but not found.\n"
29:     end
30:   end

[Validate]