Class: UnfuddleAPI::Base

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

Direct Known Subclasses

Comment, Message, People, Project, Ticket

Class Method Summary collapse

Class Method Details

.inherited(base) ⇒ Object



78
79
80
81
82
83
84
85
# File 'lib/unfuddle/unfuddle-api.rb', line 78

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