Method: LessNeglectApi::ActionEvent#as_json

Defined in:
lib/lessneglect/objects/action_event.rb

#as_json(options = {}) ⇒ Object



11
12
13
14
15
16
17
18
19
# File 'lib/lessneglect/objects/action_event.rb', line 11

def as_json(options={})
  super.merge({
    :klass => "actionevent",
    :note => self.note,
    :external_identifier => self.external_identifier,
    :extras => self.extras,
    :links => self.links.nil? ? nil : self.links.as_json
  }).as_json(options)
end