module HTTParty::ClassMethods
def read_timeout(value)
read_timeout 10
include HTTParty
class Foo
Allows setting a default read_timeout for all HTTP calls in seconds
def read_timeout(value) validate_timeout_argument(__method__, value) default_options[:read_timeout] = value end