class Abrupt::Service::AbsoluteUrl
Complexity
service documentation see ‘wba.cs.hs-rm.de/AbRUPt/service/absoluteurl/’
Constants
- SERVICE_URI
TODO: outsource service uri to module
Service
Public Instance Methods
execute()
click to toggle source
# File lib/abrupt/service/absolute_url.rb, line 14 def execute options = { method: :post, timeout: 6000, open_timeout: 6000, accept: :html } options.merge!(url: @url, payload: @html) begin RestClient::Request.execute(options).to_str rescue => e puts "some problems with #{@url}" puts e nil end end
service_uri()
click to toggle source
# File lib/abrupt/service/absolute_url.rb, line 10 def service_uri SERVICE_URI end