Sha256: 989f258eeb36ed7b9a7d02ff6eb19b2d459975ec0f2c7e2a70c39b9a18e3f980

Contents?: true

Size: 296 Bytes

Versions: 14

Compression:

Stored size: 296 Bytes

Contents

module ExpressTranslate
  class Package
    include ExpressTranslate
    def self.seed
      if !(Package.all.present?)
        Package.add({
          id: ExpressTranslate.config["package"]["id"],
          text: ExpressTranslate.config["package"]["text"]
        })
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
express_translate-1.0.13 lib/seeds/packages_seed.rb
express_translate-1.0.12 lib/seeds/packages_seed.rb
express_translate-1.0.11 lib/seeds/packages_seed.rb
express_translate-1.0.10 lib/seeds/packages_seed.rb
express_translate-1.0.9 lib/seeds/packages_seed.rb
express_translate-1.0.8 lib/seeds/packages_seed.rb
express_translate-1.0.7 lib/seeds/packages_seed.rb
express_translate-1.0.6 lib/seeds/packages_seed.rb
express_translate-1.0.5 lib/seeds/packages_seed.rb
express_translate-1.0.4 lib/seeds/packages_seed.rb
express_translate-1.0.3 lib/seeds/packages_seed.rb
express_translate-1.0.2 lib/seeds/packages_seed.rb
express_translate-1.0.1 lib/seeds/packages_seed.rb
express_translate-1.0 lib/seeds/packages_seed.rb