Class: JGrouper::Subject

Inherits:
Object
  • Object
show all
Defined in:
lib/jgrouper-server.rb

Overview

Local and temporary monkey patches to JGrouper::Subject

Instance Method Summary collapse

Instance Method Details

#to_jsonObject

Monkeypatch



100
101
102
103
104
105
106
107
# File 'lib/jgrouper-server.rb', line 100

def to_json
  {
    :id     => self.id,
    :name   => self.name,
    :source => self.source,
    :type   => self.type
  }.to_json
end