Module: Bustle::Concern::TargetResource

Extended by:
ActiveSupport::Concern
Included in:
Activity, Publisher, Subscriber
Defined in:
lib/bustle/concerns/target_resource.rb

Instance Method Summary collapse

Instance Method Details

#target_resourceObject



5
6
7
# File 'lib/bustle/concerns/target_resource.rb', line 5

def target_resource
  self.resource_class.constantize.to_adapter.get!(self.resource_id)
end