Module: Lotohelp

Defined in:
lib/lotohelp.rb,
lib/lotohelp/lottery.rb,
lib/lotohelp/request.rb,
lib/lotohelp/version.rb,
lib/lotohelp/concourse.rb,
lib/lotohelp/configuration.rb

Defined Under Namespace

Modules: Concourse, Config, Lottery, Request

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configure {|Config| ... } ⇒ Object

Yields:



14
15
16
# File 'lib/lotohelp.rb', line 14

def self.configure
  yield Config
end

.entrypointObject



22
23
24
# File 'lib/lotohelp.rb', line 22

def self.entrypoint
  "#{@protocol}://#{@hostname}/#{@version}"
end

.request {|Request| ... } ⇒ Object

Yields:



18
19
20
# File 'lib/lotohelp.rb', line 18

def self.request
  yield Request
end