Module: EffectiveResource::Base
- Defined in:
- app/models/concerns/effective_resource.rb
Instance Method Summary collapse
Instance Method Details
#effective_resource(options = nil, &block) ⇒ Object
9 10 11 12 13 14 |
# File 'app/models/concerns/effective_resource.rb', line 9 def effective_resource( = nil, &block) return @_effective_resource unless block_given? include ::EffectiveResource @_effective_resource = Effective::Resource.new(self, &block) end |