class PlaceOS::Core::Api::Drivers
- PlaceOS::Core::Api::Drivers
- PlaceOS::Core::Api::Application
- ActionController::Base
- Reference
- Object
Defined in:
api/drivers.crConstant Summary
-
PARSER_LIST =
["application/json"]
-
RESPONDER_LIST =
["application/json"]
Class Method Summary
-
.base_route
Helper for obtaining base route
-
.compiled(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)
Helper methods for performing redirect_to calls
Instance Method Summary
-
#base_route(*args, **options)
Helper for obtaining base route
-
#base_route(*args, **options, &)
Helper for obtaining base route
-
#compiled(driver_file : String, commit : String, tag : String) : Bool
Boolean check whether driver is compiled
-
#details(repository : String, driver_file : String, commit : String, branch : String = "master") : Nil
Returns the details of a driver
-
#recompile(driver_file : String, commit : String, tag : String) : String
Force re-compile driver
-
#reload(driver_id : String) : String
Fetch and reload compiled driver
Instance methods inherited from class PlaceOS::Core::Api::Application
bad_media_type(error) : ContentError
bad_media_type,
common_error(error) : CommonError
common_error,
invalid_param(error) : ParameterError
invalid_param,
request_id : String
request_id
Class Method Detail
def self.compiled(hash_parts : Hash(String | Symbol, Nil | Bool | Int32 | Int64 | Float32 | Float64 | String | Symbol) | Nil = nil, **tuple_parts)
#
Helper methods for performing redirect_to calls
Instance Method Detail
def compiled(driver_file : String, commit : String, tag : String) : Bool
#
Boolean check whether driver is compiled
def details(repository : String, driver_file : String, commit : String, branch : String = "master") : Nil
#
Returns the details of a driver
def recompile(driver_file : String, commit : String, tag : String) : String
#
Force re-compile driver