From bc9fed3635eedd7bf01872b10ac67ca87189377c Mon Sep 17 00:00:00 2001 From: Alex Rattray Date: Thu, 30 May 2019 17:44:52 -0400 Subject: [PATCH] Some small changes to object_types for codegen --- lib/stripe/object_types.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/stripe/object_types.rb b/lib/stripe/object_types.rb index 906e59cf..60c8b5ba 100644 --- a/lib/stripe/object_types.rb +++ b/lib/stripe/object_types.rb @@ -1,10 +1,11 @@ # frozen_string_literal: true # rubocop:disable Metrics/LineLength +# rubocop:disable Metrics/MethodLength module Stripe module ObjectTypes - def self.object_names_to_classes # rubocop:disable Metrics/MethodLength + def self.object_names_to_classes { # data structures ListObject::OBJECT_NAME => ListObject, @@ -92,3 +93,4 @@ module Stripe end # rubocop:enable Metrics/LineLength +# rubocop:enable Metrics/MethodLength