Skip to content

Commit fa9f494

Browse files
Fixed more rubocop issues
1 parent 317fc6d commit fa9f494

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/sapi_client/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

lib/sapi_client/sapi_resource.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)