Sha256: 8110d3511863e6879519383e986a2647fb44d2357503492b18a803818e920b13

Contents?: true

Size: 463 Bytes

Versions: 8

Compression:

Stored size: 463 Bytes

Contents

module Conglomerate
  module QueryBuilder
    include Conglomerate::ParticleBuilder

    builds Conglomerate::Query

    module BuildOverride
      def build(attrs = {})
        instance_variable_set("@objects", nil)
        super(attrs.merge({
          :rel => _builder_name
        }))
      end
    end

    value :href
    value :rel
    value :name
    value :prompt

    builder :datum, Conglomerate::DatumBuilder, :name => :data, :array => true
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
conglomerate-0.16.0 lib/conglomerate/query_builder.rb
conglomerate-0.15.0 lib/conglomerate/query_builder.rb
conglomerate-0.14.0 lib/conglomerate/query_builder.rb
conglomerate-0.13.0 lib/conglomerate/query_builder.rb
conglomerate-0.12.1 lib/conglomerate/query_builder.rb
conglomerate-0.12.0 lib/conglomerate/query_builder.rb
conglomerate-0.11.1 lib/conglomerate/query_builder.rb
conglomerate-0.11.0 lib/conglomerate/query_builder.rb