ac3cloud / roust

Ruby client for Request Tracker's REST API
Other
6 stars 4 forks source link

TMail vs Mail #1

Closed nerdyness closed 10 years ago

nerdyness commented 10 years ago

trying to run

query = "Queue = 'support' AND Created > '#{last_week}'" tmp = rt.query(:query => query)

returns an error about roust/lib/roust.rb:467:in block in query': uninitialized constant Roust::TMail (NameError) from /home/sk/playground/bp/roust/lib/roust.rb:461:ineach' from /home/sk/playground/bp/roust/lib/roust.rb:461:in query' from ./sla.rb:18:in

'

I've been going down the rabbit hole of why require 'tmail' is missing and why roust is using the 'tmail' replacement 'mail' in some places. Updates to follow, just thought I'd create an issue

nerdyness commented 10 years ago

PR has been submitted to fix this https://github.com/bulletproofnetworks/roust/pull/3