Module: RTM::IO::TOJTM::Name
- Defined in:
- lib/rtm/io/to_jtm.rb
Instance Method Summary collapse
-
#to_jtm ⇒ Object
(also: #to_json)
Returns the JTM representation of this RTM::Name.
Instance Method Details
#to_jtm ⇒ Object Also known as: to_json
Returns the JTM representation of this RTM::Name
49 50 51 52 53 54 |
# File '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 |