class Jitsu::Client
- Jitsu::Client
- Reference
- Object
Defined in:
jitsu/client.crConstructors
Instance Method Summary
-
#base_url : URI
Returns the base url for which this client will make API requests to.
-
#get(path : String)
Performs a GET request on the path.
- #host : String
- #host=(host : String)
-
#post(path : String, body : String)
Performs a POST request on the path with a body.
-
#set_host(host : String)
Set the
@host
instance variable for this client. -
#set_token(token : String)
Sets the
@token
instance variable for this client. - #token : String
- #token=(token : String)