Sha256: 1597c9a04328a6f0e8689e9acca95d99a15557cac5b4289ef7e7d01a603d6479

Contents?: true

Size: 374 Bytes

Versions: 5

Compression:

Stored size: 374 Bytes

Contents

require "scram/concerns/aggregate_holder"

module Scram
  class UnimplementedAggregateHolder
    include AggregateHolder
  end

  class SimpleAggregateHolder
    include AggregateHolder

    attr_accessor :aggregates

    def initialize(aggregates: [])
        @aggregates = aggregates
    end

    def scram_compare_value
      "Mr. Aggregate Holder Guy"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scram-0.1.4 spec/scram/test_implementations/simple_aggregate_holder.rb
scram-0.1.3 spec/scram/test_implementations/simple_aggregate_holder.rb
scram-0.1.2 spec/scram/test_implementations/simple_aggregate_holder.rb
scram-0.1.1 spec/scram/test_implementations/simple_aggregate_holder.rb
scram-0.1.0 spec/scram/test_implementations/simple_aggregate_holder.rb