Sha256: b12f762bfcab8f7cd5d591c5c084071952d177c0a226b465708438a791a429c2

Contents?: true

Size: 524 Bytes

Versions: 1

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

require_relative "../../data_object/industry"
require_relative "../../data_object/company"

module ONEAccess
  module Response
    module Representer
      class CompanyRepresenter < Representable::Decorator
        include Representable::JSON

        property :api_status_code, as: :ApiStatusCode
        property :data, as:        :Data,
                        decorator: DataObject::Representer::Company,
                        class:     DataObject::Company
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
oneaccess-0.1.3 lib/oneaccess/response/representer/company_representer.rb