class VpsbClient::Api::PostRequest
Public Class Methods
new(http_client)
click to toggle source
Calls superclass method
VpsbClient::Api::Request::new
# File lib/vpsb_client/api/request.rb, line 33 def initialize(http_client) super(http_client) end
Public Instance Methods
content_type()
click to toggle source
# File lib/vpsb_client/api/request.rb, line 41 def content_type 'application/x-www-form-urlencoded' end
run()
click to toggle source
# File lib/vpsb_client/api/request.rb, line 37 def run @http_client.post(self) end