Class: BatchBook::Base

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

Class Method Summary collapse

Class Method Details

.inherited(base) ⇒ Object



56
57
58
59
60
61
62
63
# File 'lib/batchbook.rb', line 56

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