lib/oneaccess/response/representer/industries_response.rb in oneaccess-1.2.0 vs lib/oneaccess/response/representer/industries_response.rb in oneaccess-1.3.0

- old
+ new

@@ -1,16 +1,17 @@ # frozen_string_literal: true -require_relative "./paginated_response" -require_relative "../../data_object/industry" +require_relative './paginated_response' +require_relative '../../data_object/industry' module ONEAccess module Response module Representer class IndustriesResponse < PaginatedResponse - collection :data, as: :Data, - decorator: DataObject::Representer::Industry, - class: DataObject::Industry + collection :data, + as: :Data, + decorator: DataObject::Representer::Industry, + class: DataObject::Industry end end end end