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
| { | |
| "openapi": "3.0.1", | |
| "info": { | |
| "title": "Claims API", | |
| "version": "v1", | |
| "description": "This is the Claims API top level description. \n\nEdit me in /lib/tasks/open_api.rake.\n" | |
| }, | |
| "paths": { | |
| "/api/v1/notices/claims": { | |
| "post": { |
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
| require 'shellwords' | |
| def tell_chrome_to(*commands) | |
| tell(%Q(application "System Events" to tell application process "Google Chrome"), *commands) | |
| end | |
| def tell(target, *commands) | |
| ["tell #{target}", *commands.flatten, 'end tell'] | |
| end |
OlderNewer