class

ShortURL::Service

Inherits Reference / Object

Constructors

new(hostname : String)

Instance methods

action
action=(action : String)
code
code=(code : Int32)
hostname
method
method=(method : Symbol)
on_body(body : String)
on_response(response : HTTP::Client::Response)
param
param=(param : String)
port
port=(port : Int32)
shorten(url : String)
ssl
ssl=(ssl : Bool)