# frozen_string_literal: true require_relative "../../data_object/company_light" module ONEAccess module Response module Representer class CompaniesResponse < Representable::Decorator include Representable::JSON property :api_status_code, as: :ApiStatusCode property :has_more_records, as: :HasMoreRecords property :total_count, as: :TotalCount collection :data, as: :Data, decorator: DataObject::Representer::CompanyLight, class: DataObject::CompanyLight end end end end