class Druid::RecFilter

Public Class Methods

new(dimension, bounds) click to toggle source
Calls superclass method
# File lib/druid/filter.rb, line 288
def initialize(dimension, bounds)
  super()
  @type = 'spatial'
  @dimension = dimension
  @bound = {
    type: 'rectangular',
    minCoords: bounds.first,
    maxCoords: bounds.last,
  }
end