lib/oneaccess/response/companies_response.rb in oneaccess-0.1.3 vs lib/oneaccess/response/companies_response.rb in oneaccess-0.1.4
- old
+ new
@@ -1,21 +1,12 @@
# frozen_string_literal: true
-require_relative "./representer/companies_representer"
+require_relative "./paginated_response"
+require_relative "./representer/companies_response"
module ONEAccess
module Response
- class CompaniesResponse
- extend Serializable
-
+ class CompaniesResponse < PaginatedResponse
represented_by Representer::CompaniesResponse
-
- attr_accessor :api_status_code
- attr_accessor :total_count
- attr_accessor :has_more_records
- attr_accessor :data
-
- alias has_more_records? has_more_records
- alias more_records? has_more_records
end
end
end