Sha256: 728b56789365572d413a3aa2753b968b30bb2c80dd0bfef641c5e20acfe68632

Contents?: true

Size: 368 Bytes

Versions: 10

Compression:

Stored size: 368 Bytes

Contents

module ActiveFedora::Filter
  class Builder < ActiveFedora::Associations::Builder::CollectionAssociation
    self.macro = :filter
    self.valid_options = [:extending_from, :condition]

    def self.define_readers(mixin, name)
      super
      mixin.redefine_method("#{name.to_s.singularize}_ids") do
        association(name).ids_reader
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
activefedora-aggregation-0.9.0 lib/active_fedora/filter/builder.rb
activefedora-aggregation-0.8.1 lib/active_fedora/filter/builder.rb
activefedora-aggregation-0.8.0 lib/active_fedora/filter/builder.rb
activefedora-aggregation-0.7.0 lib/active_fedora/filter/builder.rb
activefedora-aggregation-0.6.0 lib/active_fedora/filter/builder.rb
activefedora-aggregation-0.5.0 lib/active_fedora/filter/builder.rb
activefedora-aggregation-0.4.2 lib/active_fedora/filter/builder.rb
activefedora-aggregation-0.4.1 lib/active_fedora/filter/builder.rb
activefedora-aggregation-0.4.0 lib/active_fedora/filter/builder.rb
activefedora-aggregation-0.3.0 lib/active_fedora/filter/builder.rb