Class: Edools::Core::Collaborator

Inherits:
Base
  • Object
show all
Defined in:
lib/edools/core/collaborator.rb

Instance Method Summary collapse

Methods inherited from Base

refresh_config!, version, version=

Instance Method Details

#to_json(options = {}) ⇒ Object



9
10
11
# File 'lib/edools/core/collaborator.rb', line 9

def to_json(options={})
  super(include_root_in_json ? { root: 'user' }.merge(options) : options)
end

#to_xml(options = {}) ⇒ Object



13
14
15
# File 'lib/edools/core/collaborator.rb', line 13

def to_xml(options={})
  super({ root: 'user' }.merge(options))
end