lib/azure/armrest/model/storage_account.rb
# Build a query string from a hash of options.
#
Build a query string from a hash of options.
Build a query string from a hash of options .
def build_query(options)
        array = []
        options.each do |key, value|
          next if key == :all
          if [:filter, :select, :top].include?(key)
            array << "$#{key}=#{value}" if value
          elsif key == :continuation_token
            value.each { |k, token| array << "#{k}=#{token}" if token }
          else
            array << "#{key}=#{value}" if value
          end
        end
        array.join('&')
      end
def build_query ( options ) array = [ ] options . each do | key , value | next if key == :all if [ :filter , :select , :top ] . include? ( key ) array << "$#{key}=#{value}" if value elsif key == :continuation_token value . each { | k , token | array << "#{k}=#{token}" if token } else array << "#{key}=#{value}" if value end end array . join ( '&' ) end
Build a query string from a hash of options.
Build a query string from a hash of options .
options
<not_specific>