Module: Patron
- Defined in:
- lib/patron.rb,
lib/patron/util.rb,
lib/patron/error.rb,
lib/patron/request.rb,
lib/patron/session.rb,
lib/patron/version.rb,
lib/patron/response.rb,
lib/patron/proxy_type.rb,
ext/patron/session_ext.c
Defined Under Namespace
Modules: ProxyType, Util Classes: ConnectionFailed, Error, HostResolutionError, PartialFileError, Request, Response, Session, TimeoutError, TooManyRedirects, URLFormatError, UnsupportedProtocol, UnsupportedSSLVersion
Constant Summary collapse
- VERSION =
"0.6.3"
Class Method Summary collapse
-
.libcurl_version ⇒ Object
Returns the version of the embedded libcurl.
-
.version ⇒ String
Returns the version number of the gem.
Class Method Details
.libcurl_version ⇒ Object
Returns the version of the embedded libcurl.
@return [String] libcurl version string
202 203 204 205 206 |
# File 'ext/patron/session_ext.c', line 202 static VALUE libcurl_version(VALUE klass) { char* value = curl_version(); UNUSED_ARGUMENT(klass); return rb_str_new2(value); } |
.version ⇒ String
Returns the version number of the gem
38 39 40 |
# File 'lib/patron.rb', line 38 def self.version VERSION end |