class Lighthouse::Base

Public Class Methods

inherited(base) click to toggle source
Calls superclass method
# File lib/lighthouse/base.rb, line 3
def self.inherited(base)
  Lighthouse.resources << base
  class << base        
    attr_accessor :site_format
    
    def site_with_update
      Lighthouse.update_site(self)
      site_without_update
    end
    alias_method_chain :site, :update
  end
  base.site_format = '%s'
  super
  Lighthouse.update_token_header(base)
  Lighthouse.update_auth(base)
end