Sha256: dcec245ced95df0154ab036a0d78c0f6a57c082a0ecbc7f279f839149c723586
Contents?: true
Size: 747 Bytes
Versions: 2
Compression:
Stored size: 747 Bytes
Contents
# frozen_string_literal: true require_relative '../providers_user_details_vendor' module ONEAccess module DataObject module Representer class ProvidersUserDetails < Representable::Decorator include Representable::JSON property :id, type: Integer property :user_rev_ent_status, as: :userreventstatus, type: String property :first_name, as: :firstname, type: String property :last_name, as: :lastname, type: String property :email, type: String property :vendors_count, as: :vendorscount, type: Integer collection :vendors, decorator: Representer::ProvidersUserDetailsVendor, class: DataObject::ProvidersUserDetailsVendor end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
oneaccess-1.3.1 | lib/oneaccess/data_object/representer/providers_user_details.rb |
oneaccess-1.3.0 | lib/oneaccess/data_object/representer/providers_user_details.rb |