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