Fix issue where struct with success? method would fail in Ruby 1.9.3

Interestingly:

 s = Struct.new(:success?, :authorization).new(true, nil)
 s.success?

This code works in Ruby 2.0.0, but not in 1.9.3.