Class: MingleAPI::Base

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

Direct Known Subclasses

Card, Comment, Project

Class Method Summary collapse

Class Method Details

.inherited(base) ⇒ Object



34
35
36
37
38
39
40
41
# File 'lib/mingle/mingle-api.rb', line 34

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