module WCC::Data
Constants
- VERSION
Public Class Methods
Service(hash_or_object)
click to toggle source
# File lib/wcc/data/service.rb, line 43 def self.Service(hash_or_object) case hash_or_object when Service hash_or_object when Hash Service.new(hash_or_object) when NilClass Service.new else raise ArgumentError end end
config()
click to toggle source
# File lib/wcc/data.rb, line 5 def self.config @config ||= WCC::Data::Config.new end
setup() { |config| ... }
click to toggle source
# File lib/wcc/data.rb, line 9 def self.setup yield config end