module CopyTunerClient
def self.cache
def self.cache CopyTunerClient.configuration.cache end
def self.client
def self.client CopyTunerClient.configuration.client end
def self.configure(apply = true)
- Yield: - the configuration to be modified
Parameters:
-
apply
(Boolean
) -- (internal) whether the configuration should be applied yet.
def self.configure(apply = true) self.configuration ||= Configuration.new yield configuration if apply configuration.apply end end
def self.deploy
Issues a new deploy, marking all draft blurbs as published.
def self.deploy client.deploy end
def self.export
Issues a new export, returning yaml representation of blurb cache.
def self.export cache.export end
def self.flush
def self.flush cache.flush end
def self.start_poller
def self.start_poller poller.start end