this indentiation is a bit wonky. This 'end' should line up with 'connection' and everything in between should be intended 2 spaces. Have a look at lines 9-15 at https://github.com/vaneyckt/SimpleJira/blob/master/lib/comments.rb for an example of this.