lib/promisepay/models/item.rb
# Escalate a dispute raised against an Item.
#
# @see https://reference.promisepay.com/#escalate-dispute
#
# @return [Boolean]
Escalate a dispute raised against an Item.
Escalate a dispute raised against an Item .
def escalate_dispute
      response = JSON.parse(@client.patch("items/#{send(:id)}/escalate_dispute").body)
      @attributes = response['items']
      true
    end
def escalate_dispute response = JSON . parse ( @client . patch ( "items/#{send(:id)}/escalate_dispute" ) . body ) @attributes = response [ 'items' ] true end
Escalate a dispute raised against an Item.
Escalate a dispute raised against an Item .
None
Boolean
see
None