Module: RTM::IO::TOJTM::Role

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



71
72
73
74
75
76
# File 'rtm/lib/rtm/io/to_jtm.rb', line 71

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