Module: Refine::Conditions::HasThroughIdRelationship

Included in:
Condition
Defined in:
app/models/refine/conditions/has_through_id_relationship.rb

Instance Method Summary collapse

Instance Method Details

#through_id_relationship ⇒ Object



2
3
4
# File 'app/models/refine/conditions/has_through_id_relationship.rb', line 2

def through_id_relationship
  @through_id_relationship ||= false
end

#with_through_id_relationship ⇒ Object



6
7
8
9
# File 'app/models/refine/conditions/has_through_id_relationship.rb', line 6

def with_through_id_relationship
  @through_id_relationship = true
  self
end