Class: Synaptic4r::Acl
Instance Attribute Summary collapse
-
#group_acl ⇒ Object
readonly
.….….….….….….….….….….….….….….….….….….….….….….….….……
-
#user_acl ⇒ Object
readonly
.….….….….….….….….….….….….….….….….….….….….….….….….……
Attributes inherited from Result
#headers, #http_request, #payload, #result, #sign, #url
Instance Method Summary collapse
-
#initialize(args) ⇒ Acl
constructor
.….….….….….….….….….….….….….….….….….….….….….….….….……
-
#print ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….……
Methods inherited from Result
#extract_header, #method_missing, #stringify_array, #stringify_hash
Constructor Details
#initialize(args) ⇒ Acl
.….….….….….….….….….….….….….….….….….….….….….….….….……
165 166 167 168 169 170 171 |
# File 'lib/synaptic4r/result.rb', line 165 def initialize(args) super if args[:result] @user_acl = extract_header(args, :x_emc_useracl) @group_acl = extract_header(args, :x_emc_groupacl) end end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Synaptic4r::Result
Instance Attribute Details
#group_acl ⇒ Object (readonly)
.….….….….….….….….….….….….….….….….….….….….….….….….……
162 163 164 |
# File 'lib/synaptic4r/result.rb', line 162 def group_acl @group_acl end |
#user_acl ⇒ Object (readonly)
.….….….….….….….….….….….….….….….….….….….….….….….….……
162 163 164 |
# File 'lib/synaptic4r/result.rb', line 162 def user_acl @user_acl end |
Instance Method Details
#print ⇒ Object
.….….….….….….….….….….….….….….….….….….….….….….….….……
174 175 176 |
# File 'lib/synaptic4r/result.rb', line 174 def print "User ACL\n#{stringify_hash(@user_acl)}Group ACL\n#{stringify_hash(@group_acl)}" end |