lib/oneaccess/response/company_response.rb in oneaccess-0.1.3 vs lib/oneaccess/response/company_response.rb in oneaccess-0.1.4
- old
+ new
@@ -1,16 +1,12 @@
# frozen_string_literal: true
-require_relative "./representer/company_representer"
+require_relative "./base_response"
+require_relative "./representer/company_response"
module ONEAccess
module Response
- class CompanyResponse
- extend Serializable
-
- represented_by Representer::CompanyRepresenter
-
- attr_accessor :api_status_code
- attr_accessor :data
+ class CompanyResponse < BaseResponse
+ represented_by Representer::CompanyResponse
end
end
end