module DIDWW
Constants
- VERSION
Attributes
configuration[R]
Public Class Methods
configure() { |configuration| ... }
click to toggle source
# File lib/DIDWW.rb, line 14 def self.configure yield configuration end
live?()
click to toggle source
# File lib/DIDWW.rb, line 30 def self.live? !configuration.sandbox end
mode()
click to toggle source
# File lib/DIDWW.rb, line 22 def self.mode configuration.sandbox ? :sandbox : :live end
reset()
click to toggle source
# File lib/DIDWW.rb, line 18 def self.reset @configuration = Configuration.new end
sandbox?()
click to toggle source
# File lib/DIDWW.rb, line 26 def self.sandbox? configuration.sandbox end