lib/govdelivery/tms/client.rb in govdelivery-tms-0.10.1 vs lib/govdelivery/tms/client.rb in govdelivery-tms-2.8.3

- old
+ new

@@ -37,11 +37,11 @@ services = get('/').body self.sid = services['sid'] parse_links(services['_links']) end - def get(href) - response = raw_connection.get(href) + def get(href, params = {}) + response = raw_connection.get(href, params) case response.status when 500..599 fail GovDelivery::TMS::Request::Error.new(response.status) when 401..499 fail GovDelivery::TMS::Request::Error.new(response.status)