class Authority::Device::CodeEndpoint
- Authority::Device::CodeEndpoint
- Reference
- Object
Included Modules
- Azu::Endpoint(Authority::Device::CodeRequest, Authority::Device::CodeResponse)
Defined in:
endpoints/device/code_endpoint.crClass Method Summary
- .connect(path : Router::Path)
- .delete(path : Router::Path)
- .get(path : Router::Path)
- .head(path : Router::Path)
- .helper_path_name
- .options(path : Router::Path)
- .patch(path : Router::Path)
- .path(**params)
- .post(path : Router::Path)
- .put(path : Router::Path)
- .trace(path : Router::Path)
Instance Method Summary
-
#call : CodeResponse
When we include Endpoint module, we make our object compliant with Azu Endpoints by implementing the #call, which is a method that accepts no arguments
- #client
- #code_request : Request
- #device_code
Class Method Detail
Instance Method Detail
def call : CodeResponse
#
Description copied from module Azu::Endpoint(Authority::Device::CodeRequest, Authority::Device::CodeResponse)
When we include Endpoint module, we make our object compliant with Azu Endpoints by implementing the #call, which is a method that accepts no arguments
def call : IndexPage
IndexPage.new
end