lib/creditsafe/models/company_identification.rb in creditsafe_connect-0.1.2 vs lib/creditsafe/models/company_identification.rb in creditsafe_connect-0.1.3
- old
+ new
@@ -11,10 +11,10 @@
def self.build(json:)
super.tap do |record|
record.basic_information = BasicInformation.build(json: json.fetch(:basicInformation, {}))
record.activity_classifications = json.fetch(:activityClassifications, [])
- .map { |ac| ActivityClassification.build(json: ac) }
+ .map { |ac| ActivityClassification.build(json: ac) }
end
end
end
end
end