Module: RTM::IO::TOJTM::Name

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



49
50
51
52
53
54
# File 'rtm/lib/rtm/io/to_jtm.rb', line 49

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