lib/creditsafe/models/report.rb in creditsafe_connect-0.1.1 vs lib/creditsafe/models/report.rb in creditsafe_connect-0.1.2
- old
+ new
@@ -13,10 +13,11 @@
:company_summary, :company_identification, :credit_score,
:contact_information,
:share_capital_structure, :directors, :directorships,
:financial_statements, :local_financial_statements,
:payment_data, :payment_data_extra,
- :negative_information, :additional_information
+ :negative_information, :additional_information,
+ :other_information
def self.build(json:)
super.tap do |record|
record.company_summary = CompanySummary.build(json: json.fetch(:companySummary, {}))
record.company_identification = CompanyIdentification.build(