Class: Edools::Core::Student
- Inherits:
-
Base
- Object
- ActiveResource::Base
- Base
- Base
- Edools::Core::Student
show all
- Defined in:
- lib/edools/core/student.rb
Instance Method Summary
collapse
Methods inherited from Base
refresh_config!, version, version=
Instance Method Details
#to_json(options = {}) ⇒ Object
12
13
14
|
# File 'lib/edools/core/student.rb', line 12
def to_json(options={})
super(include_root_in_json ? { root: 'user' }.merge(options) : options)
end
|
#to_xml(options = {}) ⇒ Object
16
17
18
|
# File 'lib/edools/core/student.rb', line 16
def to_xml(options={})
super({ root: 'user' }.merge(options))
end
|