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