Module: RTM::IO::TOJTM::Association

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::Association



38
39
40
41
42
43
# File 'rtm/lib/rtm/io/to_jtm.rb', line 38

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