mirror of
				https://github.com/stripe/stripe-ruby.git
				synced 2025-11-04 00:01:47 -05:00 
			
		
		
		
	Update generated code for v917
This commit is contained in:
		
							parent
							
								
									c9c0acf980
								
							
						
					
					
						commit
						c4f115226f
					
				@ -1 +1 @@
 | 
			
		||||
v914
 | 
			
		||||
v917
 | 
			
		||||
@ -8,6 +8,7 @@ module Stripe
 | 
			
		||||
    class Feature < APIResource
 | 
			
		||||
      extend Stripe::APIOperations::Create
 | 
			
		||||
      extend Stripe::APIOperations::List
 | 
			
		||||
      include Stripe::APIOperations::Save
 | 
			
		||||
 | 
			
		||||
      OBJECT_NAME = "entitlements.feature"
 | 
			
		||||
      def self.object_name
 | 
			
		||||
@ -33,6 +34,16 @@ module Stripe
 | 
			
		||||
          opts: opts
 | 
			
		||||
        )
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      # Update a feature's metadata or permanently deactivate it.
 | 
			
		||||
      def self.update(id, params = {}, opts = {})
 | 
			
		||||
        request_stripe_object(
 | 
			
		||||
          method: :post,
 | 
			
		||||
          path: format("/v1/entitlements/features/%<id>s", { id: CGI.escape(id) }),
 | 
			
		||||
          params: params,
 | 
			
		||||
          opts: opts
 | 
			
		||||
        )
 | 
			
		||||
      end
 | 
			
		||||
    end
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user