Class: VpsbClient::Api::GetPlanIdRequest
- Inherits:
-
GetItemIdRequest
- Object
- Request
- GetRequest
- GetItemIdRequest
- VpsbClient::Api::GetPlanIdRequest
- Defined in:
- lib/vpsb_client/api/get_item_id_request.rb
Instance Method Summary collapse
-
#initialize(http_client, hoster_id, plan_name) ⇒ GetPlanIdRequest
constructor
A new instance of GetPlanIdRequest.
- #query_params ⇒ Object
Methods inherited from GetItemIdRequest
Methods inherited from GetRequest
Methods inherited from Request
#accept, #post_params, #put_params
Constructor Details
#initialize(http_client, hoster_id, plan_name) ⇒ GetPlanIdRequest
Returns a new instance of GetPlanIdRequest.
23 24 25 26 |
# File 'lib/vpsb_client/api/get_item_id_request.rb', line 23 def initialize(http_client, hoster_id, plan_name) super(http_client, 'plans', plan_name) @hoster_id = hoster_id end |
Instance Method Details
#query_params ⇒ Object
28 29 30 |
# File 'lib/vpsb_client/api/get_item_id_request.rb', line 28 def query_params { hoster_id: @hoster_id } end |