Sha256: b2878a1c73ad0ab834be63d314a5a2154cd0edb03faceeb2cab136632f2233af

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

module Vindetta
  class Generator
    def self.vin(options = {})
      generate(options)
    end

    def self.generate(_options = {})
      fetch
    end

    def self.wmi(_options = {})
      fetch[0..2]
    end

    def self.vds(_options = {})
      fetch[3..8]
    end

    def self.vis(_options = {})
      fetch[9..16]
    end

    private

    def self.fetch(_options = {})
      Api.generate
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vindetta-0.17.1 lib/vindetta/generator.rb
vindetta-0.17.0 lib/vindetta/generator.rb