class Pinboard::Transport::HTTP

Defined in:

pinboard/transport/http.cr

Constant Summary

BASE_URL = "https://api.pinboard.in/v1"

Constructors

Instance Method Summary

Instance methods inherited from class Pinboard::Transport::Base

get(path : String, params : Hash(_, _))
get(path : String)
get

Constructor Detail

def self.new(token : String = "") #

[View source]

Instance Method Detail

def build_url(path : String, raw_params : Hash) : String #

[View source]
def client : HTTP::Client #

[View source]
def client=(client : ::HTTP::Client) #

[View source]
def get(path : String, params : Hash) #

[View source]
def get(path : String) #

[View source]
def token : String #

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

[View source]