Method: Megam::SshKey#for_json
- Defined in:
- lib/megam/core/sshkey.rb
#for_json ⇒ Object
105 106 107 108 109 110 111 112 113 114 |
# File 'lib/megam/core/sshkey.rb', line 105 def for_json result = { "id" => id, "name" => name, "accounts_id" => accounts_id, "path" => path, "created_at" => created_at } result end |