[LRUG] Serialising a struct

Damon Allen Davison damon at allolex.net
Mon Apr 14 08:33:55 PDT 2014


Siddharth, I think you meant https://gist.github.com/svs/10658246 :)


On Mon, Apr 14, 2014 at 11:18 AM, Siddharth Sharma <svs at svs.io> wrote:

> One solution could be to create named classes that mimic AWS response
> structs. Marhsal doesn't seem to mind those.
>
> Here's a gist that works: https://gist.github.com/svs/10656956
>
> Bit kludgy but you could hide all the kludginess in a gem and make the
> aws-sdk-core-stubs gem.
>
>
>
>
> On Mon, Apr 14, 2014 at 7:54 PM, Stephen Nelson-Smith <sanelson at gmail.com>wrote:
>
>> Hi there,
>>
>> On Mon, Apr 14, 2014 at 3:20 PM, Siddharth Sharma <svs at svs.io> wrote:
>>
>>> Does this help?
>>> https://ruby.awsblog.com/post/Tx2SU6TYJWQQLC3/Stubbing-AWS-Responses
>>>
>>
>> Thanks... but I don't think it does.. as the stubbing capabilities aren't
>> in the new library - the 1.x SDK provides this but not the 2.x.
>>
>> I guess I could use the 1.x instead, but that gives a different set of
>> challenges, and I get the impression that 2.x is the way forward, and I'd
>> expect 1.x to be deprecated before long.
>>
>> S.
>>
>
>
> _______________________________________________
> Chat mailing list
> Chat at lists.lrug.org
> http://lists.lrug.org/listinfo.cgi/chat-lrug.org
>
>


-- 

Damon Davison
http://allolex.net
@allolex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20140414/5cfa4d1b/attachment-0003.html>


More information about the Chat mailing list