Sha256: 864f6d02de3eefe15bebe8ee03db61dbd9fdfdb4c2ba5d2d1367155b0f391bba

Contents?: true

Size: 553 Bytes

Versions: 11

Compression:

Stored size: 553 Bytes

Contents

require 'seko/version'
require 'seko/client'
require 'seko/product'
require 'seko/response'
require 'seko/receipt'
require 'seko/stock'
require 'seko/order'
require 'seko/company'
require 'seko/dispatch'
require 'seko/filter'
require 'seko/tracking'

module Seko

  @config = {
    token: '',
    supplier_code: '',
    supplier_description: '',
    supplier_uom: 1,
    warehouses: {}
  }

  def self.configure(opts = {})
    opts.each { |k,v| @config[k.to_sym] = v if @config.keys.include? k.to_sym }
  end

  def self.config
    @config
  end
  
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
seko-0.0.11 lib/seko.rb
seko-0.0.10 lib/seko.rb
seko-0.0.9 lib/seko.rb
seko-0.0.8 lib/seko.rb
seko-0.0.7 lib/seko.rb
seko-0.0.6 lib/seko.rb
seko-0.0.5 lib/seko.rb
seko-0.0.4 lib/seko.rb
seko-0.0.3 lib/seko.rb
seko-0.0.2 lib/seko.rb
seko-0.0.1 lib/seko.rb