Module: InventosStreak

Defined in:
lib/inventos_streak.rb,
lib/inventos_streak/version.rb

Defined Under Namespace

Classes: Base, Box, Configuration, Field, Pipeline, Stage

Constant Summary collapse

VERSION =
"0.1.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



41
42
43
# File 'lib/inventos_streak.rb', line 41

def self.configuration
  @configuration ||= Configuration.new
end

Class Method Details

.base_urlObject



53
54
55
# File 'lib/inventos_streak.rb', line 53

def self.base_url
  configuration.streak_base_url
end

.configure {|configuration| ... } ⇒ Object

Yields:



49
50
51
# File 'lib/inventos_streak.rb', line 49

def self.configure
  yield(configuration)
end

.resetObject



45
46
47
# File 'lib/inventos_streak.rb', line 45

def self.reset
  @configuration = Configuration.new
end