3 lines
122 B
Ruby
3 lines
122 B
Ruby
json.extract! command, :id, :name, :trigger, :body, :created_at, :updated_at
|
|
json.url command_url(command, format: :json)
|