Some small changes to object_types for codegen

This commit is contained in:
Alex Rattray 2019-05-30 17:44:52 -04:00
parent 1ed21bcb57
commit bc9fed3635

View File

@ -1,10 +1,11 @@
# frozen_string_literal: true # frozen_string_literal: true
# rubocop:disable Metrics/LineLength # rubocop:disable Metrics/LineLength
# rubocop:disable Metrics/MethodLength
module Stripe module Stripe
module ObjectTypes module ObjectTypes
def self.object_names_to_classes # rubocop:disable Metrics/MethodLength def self.object_names_to_classes
{ {
# data structures # data structures
ListObject::OBJECT_NAME => ListObject, ListObject::OBJECT_NAME => ListObject,
@ -92,3 +93,4 @@ module Stripe
end end
# rubocop:enable Metrics/LineLength # rubocop:enable Metrics/LineLength
# rubocop:enable Metrics/MethodLength