Sha256: 421325d3740db5de3f1ee738f6aee3c8664a9e0850c0333c5b2bf7e7f131df63

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 Bytes

Contents

$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

require "curl_ffi"

module StreamlyFFI
  class PersistentRequest
    include StreamlyFFI::Base

    def [](_sym)
        send _sym
    end

    def escape(_string)
      connection.escape(_string)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
streamly_ffi-0.2.4 lib/streamly_ffi/persistent_request.rb
streamly_ffi-0.2.3 lib/streamly_ffi/persistent_request.rb