module Packlink::Config

Defined in:

packlink/config.cr

Constant Summary

ENVIRONMENTS = ["sandbox", "production"] of ::String

Class Method Summary

Class Method Detail

def self.api_key : String | Nil #

[View source]
def self.api_key=(api_key : String | Nil) #

[View source]
def self.environment : String #

[View source]
def self.environment=(env : String) #

[View source]
def self.open_timeout : Int32 | Float64 #

[View source]
def self.open_timeout=(open_timeout : Int32 | Float64) #

[View source]
def self.production? #

[View source]
def self.read_timeout : Int32 | Float64 #

[View source]
def self.read_timeout=(read_timeout : Int32 | Float64) #

[View source]
def self.sandbox? #

[View source]