# File lib/s3/right_s3.rb, line 720 def initialize(thing, id, perms=[], action=:refresh, name=nil) @thing = thing @id = id @name = name @perms = perms.to_a case action when :apply: apply when :refresh: refresh when :apply_and_refresh: apply; refresh end end