Skip to content

Conversation

amseledka
Copy link

…Mapper is included within a class

Fixes #53 when HappyMapper is included in a class

Allows to specify the encoding to a #parse as an option, to explicitly set the encoding to Nokogiri::XML document

example:

 Address.parse(xml, single:true, encoding: 'UTF-8')

@mvz mvz self-requested a review March 21, 2022 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there a way to specify which encoding to use when mapping?
1 participant