File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module SapiClient
44 # Wraps an entire Sapi-NT application, such that we can walk over all of the
55 # enclosed endpoint specifications to perform various operations, such as creating
66 # methods we can call
7- class Application
7+ class Application # rubocop:disable Metrics/ClassLength
88 PARSED_MODEL_SPEC = { } # rubocop:disable Style/MutableConstant
99
1010 def initialize ( base_url , application_or_endpoints )
Original file line number Diff line number Diff line change @@ -258,7 +258,8 @@ def type_to_string(typ)
258258 def property_in_model_spec? ( property )
259259 types &.any? do |typ |
260260 full_type = type_to_string ( typ )
261- Application ::PARSED_MODEL_SPEC . key? ( full_type ) && Application ::PARSED_MODEL_SPEC [ full_type ] . key? ( property . to_s )
261+ Application ::PARSED_MODEL_SPEC . key? ( full_type ) &&
262+ Application ::PARSED_MODEL_SPEC [ full_type ] . key? ( property . to_s )
262263 end
263264 end
264265 end
You can’t perform that action at this time.
0 commit comments