lib/cubits/connection.rb
def cubits_headers(path, encoded_data)
      nonce = self.class.nonce
      signature = sign_request(path, nonce, encoded_data)

      {
        'CUBITS_KEY' => @key,
        'CUBITS_NONCE' => nonce,
        'CUBITS_SIGNATURE' => signature,
        'Accept' => CONTENT_TYPE
      }
    end
# Returns complete set of cubits headers
#
Returns complete set of cubits headers
Returns complete set of cubits headers
def cubits_headers(path, encoded_data)
      nonce = self.class.nonce
      signature = sign_request(path, nonce, encoded_data)
      {
        'CUBITS_KEY' => @key,
        'CUBITS_NONCE' => nonce,
        'CUBITS_SIGNATURE' => signature,
        'Accept' => CONTENT_TYPE
      }
    end
def cubits_headers ( path , encoded_data ) nonce = self . class . nonce signature = sign_request ( path , nonce , encoded_data ) { 'CUBITS_KEY' => @key , 'CUBITS_NONCE' => nonce , 'CUBITS_SIGNATURE' => signature , 'Accept' => CONTENT_TYPE } end
Returns complete set of cubits headers
Returns complete set of cubits headers
path
encoded_data