Sha256: 480c51b9a896968c9e7321283210592a5baf00a0b5309c461bffd3e533e8d090
Contents?: true
Size: 460 Bytes
Versions: 20
Compression:
Stored size: 460 Bytes
Contents
Execute.define_task do desc "reset-refresh", "Reset source refresh time" def reset_refresh invoke :config user = ask "user: " source_name = ask "source name: " RestClient.post("#{$url}/api/source/set_refresh_time", { :api_token => $token, :user_name => user, :source_name => source_name }) end #reset_refresh end #do
Version data entries
20 entries across 20 versions & 1 rubygems