Sha256: 4e3068c60cfe8ba04382615eebf0a37b181321fba0f3d9fa1b05f16ab49ab2c8
Contents?: true
Size: 555 Bytes
Versions: 55
Compression:
Stored size: 555 Bytes
Contents
module Ecoportal module API class V1 # @attr entry [Eco::API::Common::People::PersonEntry, Hash] the input entry plain hash data used to update/create this person. class Person attr_accessor :entry def identify(section = :person) if entry && section == :entry entry.to_s(:identify) else str_id = id ? "id: '#{id}'; " : "" "'#{name}' (#{str_id}ext_id: '#{external_id}'; email: '#{email}')" end end end end end end
Version data entries
55 entries across 55 versions & 1 rubygems