Class: VpsbClient::Api::Request
- Inherits:
-
Object
- Object
- VpsbClient::Api::Request
show all
- Defined in:
- lib/vpsb_client/api/request.rb
Instance Method Summary
collapse
Constructor Details
#initialize(http_client) ⇒ Request
Returns a new instance of Request.
4
5
6
|
# File 'lib/vpsb_client/api/request.rb', line 4
def initialize(http_client)
@http_client = http_client
end
|
Instance Method Details
#accept ⇒ Object
20
21
22
|
# File 'lib/vpsb_client/api/request.rb', line 20
def accept
'application/json'
end
|
#post_params ⇒ Object
12
13
14
|
# File 'lib/vpsb_client/api/request.rb', line 12
def post_params
{}
end
|
#put_params ⇒ Object
16
17
18
|
# File 'lib/vpsb_client/api/request.rb', line 16
def put_params
{}
end
|
#query_params ⇒ Object
8
9
10
|
# File 'lib/vpsb_client/api/request.rb', line 8
def query_params
{}
end
|