Sha256: a71f7a7577cb4131bbae40a7715671aa72fdaa85eb9d346ca29a9796c07b30d8
Contents?: true
Size: 592 Bytes
Versions: 4
Compression:
Stored size: 592 Bytes
Contents
module VinExploder def self.explode(vin) @@exploder ||= nil if @@exploder.nil? cache = config.cache_store ? config.cache_store.new(config.cache_options) : nil adapter = config.adapter.new(config.adapter_options) end @@exploder ||= Exploder.new(adapter, cache) explosion = @@exploder.get(vin) end def self.config @@config ||= VinExploder::Configuration.new() end end require 'vin_exploder/configuration' require 'vin_exploder/cache' require 'vin_exploder/explosion' require 'vin_exploder/exploder' require 'vin_exploder/abstract_adapter'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
vin_exploder-0.5.2 | lib/vin_exploder.rb |
vin_exploder-0.5.0 | lib/vin_exploder.rb |
vin_exploder-0.4.8 | lib/vin_exploder.rb |
vin_exploder-0.4.7 | lib/vin_exploder.rb |