class Ecoportal::API::V1::Person
@attr entry [Eco::API::Common::People::PersonEntry, Hash] the input entry plain hash data used to update/create this person.
Attributes
entry[RW]
Public Instance Methods
identify(section = :person)
click to toggle source
# File lib/eco/api/common/version_patches/ecoportal_api/external_person.rb, line 8 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