chadicus/marvel-api-client — pull request #4 by shokohsc (2014-12-13 15:25:25+00:00)
Title: Iss2

deleting 2 lines of code where you assigned Collection.limit & Collection.offset keys everytime the foreach iterated over the collection & assigning the total of results the total of reulsts being returned by the api did the trick. pagination on my application works flawlessly now.
I still don't quite get why you did it in the first place and hope it didn't break anything else that I can't see yet.