Class: VpsbClient::Api::PostRequest
- Inherits:
-
Request
- Object
- Request
- VpsbClient::Api::PostRequest
show all
- Defined in:
- lib/vpsb_client/api/request.rb
Instance Method Summary
collapse
Methods inherited from Request
#accept, #post_params, #put_params, #query_params
Constructor Details
#initialize(http_client) ⇒ PostRequest
33
34
35
|
# File 'lib/vpsb_client/api/request.rb', line 33
def initialize(http_client)
super(http_client)
end
|
Instance Method Details
#content_type ⇒ Object
41
42
43
|
# File 'lib/vpsb_client/api/request.rb', line 41
def content_type
'application/x-www-form-urlencoded'
end
|
#run ⇒ Object
37
38
39
|
# File 'lib/vpsb_client/api/request.rb', line 37
def run
@http_client.post(self)
end
|