Ovh::Client
Inherits Reference / Object
Constructors
new(endpoint_key : String, app_key : String, app_secret : String, app_consumer_key : String = "")
SourceInstance methods
app_consumer_key
Sourceapp_consumer_key=(app_consumer_key : String)
Sourceapp_key
Sourceapp_key=(app_key : String)
Sourceapp_secret
Sourceapp_secret=(app_secret : String)
Sourcedelete(path : String, body : JSON::Any | Nil | Nil = nil) : JSON::Any | Nil
Execute a DELETE request.
endpoint
Sourceendpoint=(endpoint : String)
Sourceget(path : String, body : JSON::Any | Nil | Nil = nil) : JSON::Any | Nil
Execute a GET request.
head(path : String, body : JSON::Any | Nil | Nil = nil) : JSON::Any | Nil
Execute a HEAD request.
lose_time
Sourcelose_time=(lose_time : Time::Span)
Sourcepost(path : String, body : JSON::Any | Nil | Nil = nil) : JSON::Any | Nil
Execute a POST request.
put(path : String, body : JSON::Any | Nil | Nil = nil) : JSON::Any | Nil
Execute a PUT request.