class ShortURL::Service

Direct Known Subclasses

Defined in:

shorturl/service.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(hostname : String) #

[View source]

Instance Method Detail

def action : String #

[View source]
def action=(action : String) #

[View source]
def code : Int32 #

[View source]
def code=(code : Int32) #

[View source]
def hostname : String #

[View source]
def method : Symbol #

[View source]
def method=(method : Symbol) #

[View source]
def on_body(body : String) #

[View source]
def on_response(response : HTTP::Client::Response) #

[View source]
def param : String #

[View source]
def param=(param : String) #

[View source]
def port : Int32 #

[View source]
def port=(port : Int32) #

[View source]
def shorten(url : String) #

[View source]
def ssl : Bool #

[View source]
def ssl=(ssl : Bool) #

[View source]