module DeskLight
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/desk_light.rb, line 12 def self.config @config || self.configure end
configure() { |config| ... }
click to toggle source
# File lib/desk_light.rb, line 7 def self.configure @config ||= DeskLight::Configuration.new yield(@config) if block_given? @config end
download(_url)
click to toggle source
# File lib/desk_light.rb, line 18 def self.download _url DeskLight::Requester.download(_url) end
get(*args)
click to toggle source
# File lib/desk_light.rb, line 15 def self.get *args DeskLight::Requester.get(*args) end