class GiactVerification::ProductionRequester
Constants
- PRODUCTION_URI
Attributes
body[R]
endpointable[R]
Public Class Methods
call(args)
click to toggle source
# File lib/giact_verification/requests/production_requester.rb, line 9 def self.call(args) new(args).call end
new(args)
click to toggle source
# File lib/giact_verification/requests/production_requester.rb, line 13 def initialize(args) @endpointable = PRODUCTION_URI @body = args[:body] end
Public Instance Methods
call()
click to toggle source
# File lib/giact_verification/requests/production_requester.rb, line 18 def call http = Net::HTTP.new(endpointable.host, endpointable.port) http.use_ssl = true response = http.post(endpointable.path, body, 'Content-Type' => 'text/xml') end