lib/promisepay/models/item.rb
# Request payment for an Item.
#
# @see https://reference.promisepay.com/#request-payment
#
# @return [Boolean]
Request payment for an Item.
Request payment for an Item .
def request_payment(options = {})
      response = JSON.parse(@client.patch("items/#{send(:id)}/request_payment", options).body)
      @attributes = response['items']
      true
    end
def request_payment ( options = { } ) response = JSON . parse ( @client . patch ( "items/#{send(:id)}/request_payment" , options ) . body ) @attributes = response [ 'items' ] true end
Request payment for an Item.
Request payment for an Item .
None
Boolean
options
<not_specific>
see
None