Sha256: 3b498fe0f1cae332b63dfb2cc52af69da076deac0fbc11fc44c3d41b3a661a9f

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

require 'rom/relation'

module ROM
  module EventStore
    class Relation < ROM::Relation
      forward :select, :append, :subscribe, :from, :limit

      def self.inherited(base)
        super

        base.exposed_relations.merge([:select, :subscribe, :from, :limit])
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-event_store-0.0.6 lib/rom/event_store/relation.rb