Implemented optional url params #8

Merged
merged 1 commit into from Oct 18, 2012

2 participants

@EvanK

There were a couple optional url parameters detailed in the REST API docs that were not currently implemented in this library:

  • per_page for IronMQ#getQueues
  • timeout for IronMQ#getMessages and IronMQ#getMessage

I also added some casting of numeric params to int, not sure if it would make more sense to instead check whether they are ints and throw an exception if they're not?

@EvanK EvanK Implemented optional url params per REST API documentation
* per_page for IronMQ#getQueues
* timeout for IronMQ#getMessages and IronMQ#getMessage
ff44a1b
@thousandsofthem
Iron.io member

Thanks for your help!

@thousandsofthem thousandsofthem merged commit 3444918 into iron-io:master Oct 18, 2012
@EvanK

Happy to!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment