Sha256: d53adebfe0c63c71300ef1781a761dff92e2971606470f36bbbc3fcb099775eb

Contents?: true

Size: 374 Bytes

Versions: 9

Compression:

Stored size: 374 Bytes

Contents

module Blazer
  class RunIntegration

    def initialize(results, integration)
      @results = results
      @integration = integration
    end

    def call
      return if integration.blank?
      eval integration
      return {
        headers: @headers,
        rows: @rows
      }
    end

    private

    attr_reader :results
    attr_reader :integration

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sql-jarvis-2.1.10 lib/blazer/run_integration.rb
sql-jarvis-2.1.9 lib/blazer/run_integration.rb
sql-jarvis-2.1.8 lib/blazer/run_integration.rb
sql-jarvis-2.1.7 lib/blazer/run_integration.rb
sql-jarvis-2.1.6 lib/blazer/run_integration.rb
sql-jarvis-2.1.5 lib/blazer/run_integration.rb
sql-jarvis-2.1.4 lib/blazer/run_integration.rb
sql-jarvis-2.1.3 lib/blazer/run_integration.rb
sql-jarvis-2.1.2 lib/blazer/run_integration.rb