<div dir="ltr">I'm not sure why replaying responses via VCR doesn't help you but assuming you don't want to do that, the simplest thing you can do is just new up some Structs that mirror the data. Are the responses really that verbose?</div>

<div class="gmail_extra"><br clear="all"><div><div dir="ltr"><p style="font-size:x-small;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#666666" face="arial"><span style="font-size:x-small"><span style="color:rgb(0,0,0);font-size:small"><span style="font-size:x-small"><span style="font-size:small"><span style="font-size:x-small"></span></span></span></span></span></font></p>

<p style="font-family:arial;margin:0px"><span style="font-family:arial">










</span></p>







<p style="font-family:arial">










</p><p style="font-family:arial"><span style="color:rgb(102,102,102);font-size:x-small">--</span><br></p><font color="#666666" face="arial"></font><font color="#666666" face="arial" size="1"></font><font color="#666666" face="arial" style="font-size:x-small"><div>

<span style="font-size:x-small"><span style="font-size:small"><div><span style="font-size:x-small"><font color="#666666"><b>Matt Spendlove - Cenatus</b><br>458 Hackney Road, London E2 9EG<br>+44 (0)7976 609379</font></span></div>

<div><span style="font-size:x-small"><a href="http://cenatus.org" target="_blank"><font color="#666666">http://cenatus.org</font></a><font color="#666666"><br></font><a href="http://netaudiolondon.org" target="_blank"><font color="#666666">http://netaudiolondon.org</font></a></span></div>

</span></span></div></font><p style="font-size:x-small"></p></div></div>
<br><br><div class="gmail_quote">On Mon, Apr 14, 2014 at 3:27 PM, Paul Battley <span dir="ltr"><<a href="mailto:pbattley@gmail.com" target="_blank">pbattley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">On 14 April 2014 15:07, Stephen Nelson-Smith <<a href="mailto:sanelson@gmail.com">sanelson@gmail.com</a>> wrote:<br>
> Marshal doesn't support dumping from a Struct<br>
<br>
</div>Marshal doesn't support dumping an anonymous class. Structs are fine<br>
if they are assigned to a constant:<br>
<br>
    [1] pry(main)> Foo = Struct.new(:bar)<br>
    => Foo<br>
    [2] pry(main)> Marshal.dump(Foo.new)<br>
    => "\x04\bS:\bFoo\x06:\bbar0"<br>
<br>
I don't know if that helps you. If the structs are defined by the AWS<br>
library, perhaps not.<br>
<br>
Paul.<br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</blockquote></div><br></div>