Module: RTM::IO::TOJTM::Occurrence

Defined in:
rtm/lib/rtm/io/to_jtm.rb

Instance Method Summary

Instance Method Details

- (Object) to_jtm Also known as: to_json

Returns the JTM representation of this RTM::Occurrence



60
61
62
63
64
65
# File 'rtm/lib/rtm/io/to_jtm.rb', line 60

def to_jtm
  h = to_hash
  h[:version] = "1.0"
  h[:item_type] = "occurrence"
  h.to_json
end