def sign(token)
      @auth_hash = {
        :auth_version => "1.0",
        :auth_key => token.key,
        :auth_timestamp => Time.now.to_i.to_s
      }
      @auth_hash[:auth_signature] = signature(token)

      @signed = true

      return @auth_hash
    end
def sign(token)
      @auth_hash = {
        :auth_version => "1.0",
        :auth_key => token.key,
        :auth_timestamp => Time.now.to_i.to_s
      }
      @auth_hash[:auth_signature] = signature(token)

      @signed = true

      return @auth_hash
    end
def sign ( token ) @auth_hash = { :auth_version => "1.0" , :auth_key => token . key , :auth_timestamp => Time . now . to_i . to_s } @auth_hash [ :auth_signature ] = signature ( token ) @signed = true return @auth_hash end
Sign the request with the given token, and return the computed
 authentication parameters
Sign the request with the given token and return the computed authentication parameters