Method: PureCloud::ConsultTransferResponse#initialize
- Defined in:
- lib/purecloud/models/consult_transfer_response.rb
#initialize(attributes = {}) ⇒ ConsultTransferResponse
Returns a new instance of ConsultTransferResponse.
25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/purecloud/models/consult_transfer_response.rb', line 25 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} if attributes[:'destinationParticipantId'] self.destination_participant_id = attributes[:'destinationParticipantId'] end end |