Sha256: c075f1009751887a34b2c88e96377358cfb1017d2a1d5771c8152e4066d17233

Contents?: true

Size: 458 Bytes

Versions: 9

Compression:

Stored size: 458 Bytes

Contents

module MessageStore
  module Postgres
    module Controls
      module StreamName
        def self.example(category: nil, id: nil, type: nil, types: nil, randomize_category: nil)
          category ||= Category.example(category: category, randomize_category: randomize_category)
          id ||= Identifier::UUID.random

          MessageStore::Postgres::StreamName.stream_name(category, id, type: type, types: types)
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
evt-message_store-postgres-0.7.0.1 lib/message_store/postgres/controls/stream_name.rb
evt-message_store-postgres-0.7.0.0 lib/message_store/postgres/controls/stream_name.rb
evt-message_store-postgres-0.6.0.2 lib/message_store/postgres/controls/stream_name.rb
evt-message_store-postgres-0.6.0.1 lib/message_store/postgres/controls/stream_name.rb
evt-message_store-postgres-0.6.0.0 lib/message_store/postgres/controls/stream_name.rb
evt-message_store-postgres-0.4.2.0 lib/message_store/postgres/controls/stream_name.rb
evt-message_store-postgres-0.4.1.0 lib/message_store/postgres/controls/stream_name.rb
evt-message_store-postgres-0.4.0.1 lib/message_store/postgres/controls/stream_name.rb
evt-message_store-postgres-0.4.0.0 lib/message_store/postgres/controls/stream_name.rb