Class: ArtirixDataModels::CachedActionAdaptor::GetFull

Inherits:
ArtirixDataModels::CachedActionAdaptor show all
Defined in:
lib/artirix_data_models/cached_action_adaptor/get_full.rb

Defined Under Namespace

Modules: WithTimestamp, WithoutTimestamp

Constant Summary

Constants inherited from ArtirixDataModels::CachedActionAdaptor

STATUSES, STATUS_NOT_FOUND, STATUS_OK

Instance Attribute Summary collapse

Attributes inherited from ArtirixDataModels::CachedActionAdaptor

#cache, #logger

Instance Method Summary collapse

Methods inherited from ArtirixDataModels::CachedActionAdaptor

#cached?, #delete, #disable, #enable, #enabled?, #fetch

Constructor Details

#initialize(dao_name:, model:, **extra_options) ⇒ GetFull

Returns a new instance of GetFull.



5
6
7
8
9
10
# File 'lib/artirix_data_models/cached_action_adaptor/get_full.rb', line 5

def initialize(dao_name:, model:, **extra_options)
  @dao_name = dao_name
  @model    = model

  super(**extra_options)
end

Instance Attribute Details

#dao_nameObject (readonly)

Returns the value of attribute dao_name.



3
4
5
# File 'lib/artirix_data_models/cached_action_adaptor/get_full.rb', line 3

def dao_name
  @dao_name
end

#modelObject (readonly)

Returns the value of attribute model.



3
4
5
# File 'lib/artirix_data_models/cached_action_adaptor/get_full.rb', line 3

def model
  @model
end