Class: KDomain::Queries::BaseQuery

Inherits:
Object
  • Object
show all
Defined in:
lib/k_domain/queries/base_query.rb

Direct Known Subclasses

DomainModelQuery

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain_model) ⇒ BaseQuery

Returns a new instance of BaseQuery.



8
9
10
# File 'lib/k_domain/queries/base_query.rb', line 8

def initialize(domain_model)
  @domain_model = domain_model
end

Instance Attribute Details

#domain_modelObject (readonly)

Returns the value of attribute domain_model.



6
7
8
# File 'lib/k_domain/queries/base_query.rb', line 6

def domain_model
  @domain_model
end