Friday, September 20, 2024 3:01:54 AM
> settings

Customize


Authenticate

> esm.rb
# frozen_string_literal: true

module Faker
  class ESM
    class << self
      def server_id(community_id: self.community_id)
        "#{community_id}_#{Faker::Alphanumeric.alphanumeric(number: Faker::Number.between(from: 1, to: 32))}"
      end

      def community_id
        Faker::Alphanumeric.alphanumeric(number: Faker::Number.between(from: 1, to: 32)).to_s
      end
    end
  end
end
All opinions represented herein are my own
- © 2024 itsthedevman
- build 340fbb8