Module: Manticore::Facade::ClassMethods
- Defined in:
- lib/manticore/facade.rb
Instance Method Summary collapse
-
#include_http_client(options = {}, &block) ⇒ Object
Adds basic synchronous Manticore::Client functionality to the receiver.
Instance Method Details
#include_http_client(options = {}, &block) ⇒ Object
Adds basic synchronous Manticore::Client functionality to the receiver.
26 27 28 29 30 31 32 33 |
# File 'lib/manticore/facade.rb', line 26 def include_http_client( = {}, &block) @__manticore_facade_options = [, block] class << self extend Forwardable def_delegators "__manticore_facade", :get, :head, :put, :post, :delete, :options, :patch, :http end nil end |