Class: PostPolicy::ACL::Sender

Inherits:
Base
  • Object
show all
Defined in:
lib/postpolicy/plugins/acl/sender.rb

Instance Attribute Summary

Attributes inherited from Base

#datasource

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PostPolicy::ACL::Base

Instance Method Details

#match?(args) ⇒ Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/postpolicy/plugins/acl/sender.rb', line 6

def match?( args )
  datasource.exists? args[:sender] 
end