Sha256: 5150b0b04cb88a53f72fa6efcec3914f55f169cfdad5e9196b434e8b40a82478

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

module Puffer
  module OrmAdapter
    module Base

      def columns_hash
        raise NotSupportedError
      end

      def filter scope, fields, options = {}
        raise NotSupportedError
      end

    end

    class Reflection < ActiveSupport::OrderedOptions

      def initialize hash
        super
        hash.each { |(key, value)| self[key] = value }
      end

    end
  end
end

OrmAdapter::Base.send :include, Puffer::OrmAdapter::Base

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puffer-0.1.0 lib/puffer/orm_adapter/base.rb