Class: UntitledApi::AboutController
- Inherits:
-
BaseController
- Object
- BaseController
- UntitledApi::AboutController
- Defined in:
- lib/untitled_api/controllers/about_controller.rb
Overview
AboutController
Constant Summary
Constants inherited from BaseController
Instance Attribute Summary
Attributes inherited from BaseController
Instance Method Summary collapse
-
#about_retrieve ⇒ AboutResponse1
TODO: type endpoint description here.
Methods inherited from BaseController
#initialize, #new_api_call_builder, #new_parameter, #new_request_builder, #new_response_handler, user_agent
Constructor Details
This class inherits a constructor from UntitledApi::BaseController
Instance Method Details
#about_retrieve ⇒ AboutResponse1
TODO: type endpoint description here
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/untitled_api/controllers/about_controller.rb', line 11 def about_retrieve new_api_call_builder .request(new_request_builder(HttpMethodEnum::GET, '/about', Server::DEFAULT) .header_param(new_parameter('application/json', key: 'accept')) .auth(Or.new('tokenAuth'))) .response(new_response_handler .deserializer(APIHelper.method(:custom_type_deserializer)) .deserialize_into(AboutResponse1.method(:from_hash))) .execute end |