[LRUG] Serialising a struct
Stephen Nelson-Smith
sanelson at gmail.com
Mon Apr 14 09:51:45 PDT 2014
Hi Matt,
On Mon, Apr 14, 2014 at 3:41 PM, Matt Spendlove <matt at cenatus.org> wrote:
Still not sure I understand. Are you saying VCR doesn't work with this gem?
> You should be able to just record the XML response from the API via VCR,
> call the client method again in subsequent tests and get your "frozen"
> response as structs, letting aws-sdk deal with the deserialisation for you?
>
That was one approach I considered. VCR records the XML response just
fine. But I couldn't find an entry point in aws-sdk-core that would allow
me to pass it the frozen response and return the struct.
S.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20140414/8097165f/attachment-0003.html>
More information about the Chat
mailing list