class Graphlient::Adapters::HTTP::Adapter
def configure_http_options(client_options)
def configure_http_options(client_options) http_options.each do |k, v| begin client_options.send("#{k}=", v) rescue NoMethodError => e raise Graphlient::Errors::HttpOptionsError, e.message end end end
def execute(*)
def execute(*) raise NotImplementedError end
def headers
def headers options[:headers] if options end
def http_options
def http_options return {} unless options options[:http_options] || {} end
def initialize(url, options = {}, &_block)
def initialize(url, options = {}, &_block) @url = url @options = options.dup if options yield self if block_given? end