Sha256: ee36cf64f186adf5724a97a8062841baadd7433e3407f01336e529af4f604098

Contents?: true

Size: 286 Bytes

Versions: 1

Compression:

Stored size: 286 Bytes

Contents

module ModelExplorer
  module Associations
    class Singular < Base
      def export
        {
          name: name,
          type: macro,
          records: export_records
        }
      end

      private

      def query
        default_query.limit(1)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
model_explorer-0.1.0 lib/model_explorer/associations/singular.rb