Sha256: 7595bbcb96093f58798c0245f791f17b5aa4bdad7b2c64144d4eeeb2beabd3c8

Contents?: true

Size: 304 Bytes

Versions: 6

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

require 'discourse_dev/record'
require 'rails'
require 'faker'

module DiscourseDev
  class Tag < Record

    def initialize(count = DEFAULT_COUNT)
      super(::Tag, count)
    end

    def data
      {
        name: Faker::Discourse.unique.tag,
      }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
discourse_dev-0.1.0 lib/discourse_dev/tag.rb
discourse_dev-0.0.9 lib/discourse_dev/tag.rb
discourse_dev-0.0.8 lib/discourse_dev/tag.rb
discourse_dev-0.0.7 lib/discourse_dev/tag.rb
discourse_dev-0.0.5 lib/discourse_dev/tag.rb
discourse_dev-0.0.4 lib/discourse_dev/tag.rb