Class: Dsx::Dml::TmpAccessLevelOp

Inherits:
CardRelatedOp show all
Defined in:
lib/dsx/operation.rb

Instance Method Summary collapse

Methods inherited from CardRelatedOp

#initialize

Methods inherited from OpTemplate

#initialize

Constructor Details

This class inherits a constructor from Dsx::Dml::CardRelatedOp

Instance Method Details

#+(values) ⇒ Object



150
151
152
153
154
155
156
# File 'lib/dsx/operation.rb', line 150

def + (values)
  values.each do |level|
    @table.add_tmp_acl(level)
  end
  @table.write
  @op
end

#-(values) ⇒ Object



158
159
160
161
162
163
164
# File 'lib/dsx/operation.rb', line 158

def - (values)
  values.each do |level|
    @table.del_tmp_acl(level)
  end
  @table.write
  @op
end

#resetObject



166
167
168
169
170
# File 'lib/dsx/operation.rb', line 166

def reset
  @table.clear_all_tmp_acl
  @table.write
  @op
end