module PaymentAdapterDemo::Razorpay
	class RazorpayApi
		class << self
			def create_subscription(credentials, plan, subscriber, start_time, trial_period_duration)
				Client.new(RAZORPAY_CONFIG.dig(0, credentials[:enviroment].to_sym), credentials).create_subscription(plan, subscriber, start_time, trial_period_duration)
			end
		end
	end
end