Sha256: b9e6ded691a6452d0027fec82407a2be810507dfe7486463ecbf6f81bfce0aa5
Contents?: true
Size: 614 Bytes
Versions: 14
Compression:
Stored size: 614 Bytes
Contents
module Eco module API module Common module PersonPatch # @attr entry [Eco::API::Common::People::PersonEntry, Hash] the input entry plain hash data used to update/create this 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 Ecoportal::API::V1::Person.include PersonPatch end end end
Version data entries
14 entries across 14 versions & 1 rubygems