Fix Ruby Request class: no access to inject_format on Class object

As far as I can tell, this is meant to access the 'configuration' object of Swagger, not the Configuration class.