mirror of
				https://github.com/stripe/stripe-ruby.git
				synced 2025-11-03 00:03:35 -05:00 
			
		
		
		
	* Rename the `Update` operation to `Save` * Add the `update` class method to all saveable resources * Add tests for update method * Add tests for plans, invoice items, and application fees
		
			
				
	
	
		
			13 lines
		
	
	
		
			296 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			296 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
module Stripe
 | 
						|
  class Recipient < APIResource
 | 
						|
    extend Stripe::APIOperations::Create
 | 
						|
    include Stripe::APIOperations::Delete
 | 
						|
    include Stripe::APIOperations::Save
 | 
						|
    extend Stripe::APIOperations::List
 | 
						|
 | 
						|
    def transfers
 | 
						|
      Transfer.all({ :recipient => id }, @api_key)
 | 
						|
    end
 | 
						|
  end
 | 
						|
end
 |