class ArQueryMatchers::Queries::ModelName

An instance of this class is one of the values that could be returned from the QueryFilter#filter_map. its accepts a name of an ActiveRecord model, for example: 'Company'.

Attributes

model_name[R]

Public Class Methods

new(model_name) click to toggle source
# File lib/ar_query_matchers/queries/model_name.rb, line 10
def initialize(model_name)
  @model_name = model_name
end