toland / patron

Ruby HTTP client based on libcurl
http://toland.github.com/patron/
MIT License
541 stars 73 forks source link

Replace instance variable gets with reader calls #112

Closed julik closed 8 years ago

julik commented 8 years ago

for Session and Request, to honor UAP and to allow easier subclassing of both. This way an object can be provided in lieu of Patron::Request, and it will be accepted and treated properly without messing with it's instance variables.