Sha256: 77d600d201bae421376be963c7aea99302b53a1b8d364c8764913ea25782b974

Contents?: true

Size: 470 Bytes

Versions: 18

Compression:

Stored size: 470 Bytes

Contents

module CFoundry::V2
  module ModelMagic
    module QueryValueHelper
      class QueryMultiValue
        attr_accessor :query_values

        def initialize(*query_hashes)
          self.query_values = query_hashes.collect do |query_hash|
            QueryValue.new query_hash
          end
        end

        def collect_values(key)
          query_values.collect do |value|
            "#{key}#{value}"
          end.join(';')
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
new_cfoundry-4.9.4 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
new_cfoundry-4.9.3 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
ncfoundry-4.9.4 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
ncfoundry-4.9.3 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
ncfoundry-4.9.2 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
new_cfoundry-4.9.2 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
new_cfoundry-4.9.1 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
new_cfoundry-4.9.0 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
new_cfoundry-4.8.3 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
new_cfoundry-4.8.2 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
cfoundry-4.7.2.rc1 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
cfoundry-4.7.1 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
cfoundry-4.7.1.rc1 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
cfoundry-4.7.0 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
cfoundry-4.6.3.rc3 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
cfoundry-4.6.3.rc2 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
cfoundry-4.6.3.rc1 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb
cfoundry-4.6.2 lib/cfoundry/v2/model_magic/query_multi_value_helper.rb