# File lib/s3/grantee.rb, line 104
    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