Class: KDomain::Queries::BaseQuery
- Inherits:
-
Object
- Object
- KDomain::Queries::BaseQuery
- Defined in:
- lib/k_domain/queries/base_query.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#domain_model ⇒ Object
readonly
Returns the value of attribute domain_model.
Instance Method Summary collapse
-
#initialize(domain_model) ⇒ BaseQuery
constructor
A new instance of BaseQuery.
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_model ⇒ Object (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 |