struct Packlink::Service

Defined in:

packlink/service.cr

Class Method Summary

Instance methods inherited from struct Packlink::Base

initialize initialize

Constructor methods inherited from struct Packlink::Base

new new

Class Method Detail

def self.all(params : NamedTuple | Hash = A::HS2.new, query : NamedTuple | Hash = A::HS2.new, headers : NamedTuple | Hash = A::HS2.new, client : Client = Client.instance) #

[View source]
def self.find(params : NamedTuple | Hash = A::HS2.new, query : NamedTuple | Hash = A::HS2.new, headers : NamedTuple | Hash = A::HS2.new, client : Client = Client.instance) #

[View source]
def self.find(id : Int32 | String, client : Client = Client.instance) #

[View source]
def self.from(country : String, zip : A::Zipcode, client : Client = Client.instance) #

[View source]
def self.package(package : Hash | NamedTuple, client : Client = Client.instance) #

[View source]
def self.package(package : Packlink::Package, client : Client = Client.instance) #

[View source]
def self.to(country : String, zip : A::Zipcode, client : Client = Client.instance) #

[View source]