class LinkShort::Requester
- LinkShort::Requester
- Reference
- Object
Defined in:
requester.crConstructors
Instance Method Summary
-
#delete(path : String, data : Hash(String, String)) : Hash(String, JSON::Any)
Make a
#delete
request to the specified url + path -
#get(path : String) : Hash(String, JSON::Any)
Make a
#get
request to the specified url + path -
#post(path : String, data : Hash(String, String)) : Hash(String, JSON::Any)
Make a
#post
request to the specified url + path -
#put(path : String, data : Hash(String, String)) : Hash(String, JSON::Any)
Make a
#put
request to the specified url + path
Constructor Detail
Instance Method Detail
def delete(path : String, data : Hash(String, String)) : Hash(String, JSON::Any)
#
Make a #delete
request to the specified url + path
def post(path : String, data : Hash(String, String)) : Hash(String, JSON::Any)
#
Make a #post
request to the specified url + path