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