Class: Riak::Client::ExconBackend
- Inherits:
-
HTTPBackend
- Object
- HTTPBackend
- Riak::Client::ExconBackend
- Defined in:
- riak-client/lib/riak/client/excon_backend.rb
Overview
An HTTP backend for Riak::Client that uses Wesley Beary’s Excon HTTP library. Conforms to the Riak::Client::HTTPBackend interface.
Instance Attribute Summary
Attributes inherited from HTTPBackend
Class Method Summary (collapse)
Methods inherited from HTTPBackend
#delete_object, #fetch_object, #get_bucket_props, #initialize, #link_walk, #list_buckets, #list_keys, #mapred, #ping, #reload_object, #set_bucket_props, #stats, #store_object
Methods included from HTTPBackend::ObjectMethods
#load_object, #reload_headers, #store_headers
Methods included from HTTPBackend::TransportMethods
#basic_auth_header, #client_id, #default_headers, #delete, #get, #head, #path, #post, #put, #return_body?, #root_uri, #valid_response?, #verify_path!, #verify_path_and_body!
Methods included from Util::Translation
Methods included from Util::Escape
Constructor Details
This class inherits a constructor from Riak::Client::HTTPBackend
Class Method Details
+ (Boolean) configured?
26 27 28 29 30 31 32 33 |
# File 'riak-client/lib/riak/client/excon_backend.rb', line 26 def self.configured? begin require 'excon' Excon::VERSION >= "0.5.7" rescue LoadError false end end |