Module: Summoner::Entity

Extended by:
ActiveSupport::Concern
Defined in:
lib/summoner/entity.rb

Instance Method Summary collapse

Instance Method Details

#feature(name) ⇒ Object



44
45
46
47
# File 'lib/summoner/entity.rb', line 44

def feature(name)
  full_key = "#{self.class.summoner_namespace}.#{name}"
  Summoner::Fetcher.value_for(full_key, entity: self)
end