Created
April 8, 2016 02:22
-
-
Save apraditya/4fab9a80de7094f74d0931bbf2c61c8e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app/lib/publishers/*.rb": { | |
"command": "publisher", | |
"template": "class %S\nend" | |
}, | |
"app/lib/listeners/*.rb": { | |
"command": "listener", | |
"template": "class %S\nend" | |
}, | |
"app/resources/*_resource.rb": { | |
"command": "resource", | |
"related": "app/controllers/%p_controller.rb", | |
"template": "class %SResource < JSONAPI::Resource\nend", | |
"test": "spec/resources/%p_resource_spec.rb" | |
}, | |
"app/workers/*_worker.rb": { | |
"command": "worker", | |
"template": "class %Sworker < ActiveJob::Base\nend" | |
}, | |
"app/controllers/api/*_controller.rb": { | |
"related": "app/resources/api/%i_resource.rb" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment