lib/azure/armrest/model/storage_account.rb
# Using the blob primary endpoint as a base, join any arguments to the
# the url and submit an http request.
Using the blob primary endpoint as a base, join any arguments to the
the url and submit an http request.
Using the blob primary endpoint as a base join any arguments to the the url and submit an http request .
def table_response(key, query = nil, *args)
        url = File.join(properties.primary_endpoints.table, *args)
        headers = build_headers(url, key, 'table')
        headers['Accept'] = 'application/json;odata=fullmetadata'
        unless query.nil? || query.empty?
          url << "?#{query}"
        end
        ArmrestService.send(
          :rest_get,
          :url         => url,
          :headers     => headers,
          :proxy       => configuration.proxy,
          :ssl_version => configuration.ssl_version,
          :ssl_verify  => configuration.ssl_verify,
          :timeout     => configuration.timeout
        )
      end
def table_response ( key , query = nil , * args ) url = File . join ( properties . primary_endpoints . table , * args ) headers = build_headers ( url , key , 'table' ) headers [ 'Accept' ] = 'application/json;odata=fullmetadata' unless query . nil? || query . empty? url << "?#{query}" end ArmrestService . send ( :rest_get , :url => url , :headers => headers , :proxy => configuration . proxy , :ssl_version => configuration . ssl_version , :ssl_verify => configuration . ssl_verify , :timeout => configuration . timeout ) end
Using the blob primary endpoint as a base, join any arguments to the
the url and submit an http request.
Using the blob primary endpoint as a base join any arguments to the the url and submit an http request .
# Must happen after headers are built
key
<not_specific>
query
<not_specific>
args
<not_specific>