Class: Lighthouse::Base

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/lighthouse.rb

Direct Known Subclasses

Bin, Membership, Message, Milestone, Project, Ticket, Token, User

Class Method Summary collapse

Class Method Details

.inherited(base) ⇒ Object



65
66
67
68
69
70
71
72
# File 'lib/lighthouse.rb', line 65

def self.inherited(base)
  Lighthouse.resources << base
  class << base
    attr_accessor :site_format
  end
  base.site_format = '%s'
  super
end