module TWW
Constants
- VERSION
Attributes
factory[RW]
Public Class Methods
client(options = {})
click to toggle source
# File lib/tww.rb, line 19 def client(options = {}) @factory.new(@config.merge(options)) end
config() { |config| ... }
click to toggle source
# File lib/tww.rb, line 15 def config @config.tap { |config| yield(config) if block_given? } end
disable_testing!()
click to toggle source
# File lib/tww.rb, line 27 def disable_testing! @factory = TWW::REST end
enable_testing!()
click to toggle source
# File lib/tww.rb, line 23 def enable_testing! @factory = TWW::Testing end