Class: CodasetAPI::Base

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/codaset/codaset-api.rb

Direct Known Subclasses

Project, Ticket

Class Method Summary collapse

Class Method Details

.inherited(base) ⇒ Object



93
94
95
96
97
98
99
100
# File 'lib/codaset/codaset-api.rb', line 93

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