class LDService

Defined in:

services/ld_service.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(config : Config) #

[View source]

Instance Method Detail

def base_url : String #

[View source]
def config : Config #

[View source]
def config=(config : Config) #

[View source]
def create_flag(key : String, name : String) #

[View source]
def get_environments : Hash(String, Tuple(String, String, String)) #

[View source]
def get_flags : Hash(String, Tuple(String, Bool)) #

[View source]
def get_or_create_environment #

[View source]
def get_or_create_project #

[View source]
def get_projects : Hash(String, String) #

[View source]
def headers : HTTP::Headers #

[View source]
def semantic_headers : HTTP::Headers #

[View source]
def set_flag(key : String, value : Bool) #

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

[View source]