Sha256: 083ded14a04c8d71753028eefe32a2496d3dcae6852b1bf2f266a39dbf7d9b0d
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
# Server.api4 :set_refresh_time, :put, "/rc/#{Rhoconnect::API_VERSION}/readstate/users/:user_name/sources/:source_name", \ # true, {:verb => :post, :url => ['/api/set_refresh_time', '/api/source/set_refresh_time']} do |params,user| # source = Source.load(params[:source_name], # {:app_id => APP_NAME, :user_id => params[:user_name]}) # source.poll_interval = params[:poll_interval] if params[:poll_interval] # params[:refresh_time] ||= 0 # source.read_state.refresh_time = Time.now.to_i + params[:refresh_time].to_i # '' # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rhoconnect-4.0.0.beta.10 | lib/rhoconnect/api/readstate/set_refresh_time.rb |