Sha256: 8ed376a68047202c228477659fd3eee561cf1bbd6e229efb6b65cf578cfeb449

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

require 'infrataster'

module Infrataster
  module Resources
    class MysqlQueryResource < BaseResource
      Error = Class.new(StandardError)

      attr_reader :query

      def initialize(query, options = {})
        @query = query
        @options = options
      end

      def to_s
        "mysql '#{@query}'"
      end
    end
  end
end


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
infrataster-plugin-mysql-0.1.2 lib/infrataster/resources/mysql_query_resource.rb
infrataster-plugin-mysql-0.1.1 lib/infrataster/resources/mysql_query_resource.rb
infrataster-plugin-mysql-0.1.0 lib/infrataster/resources/mysql_query_resource.rb