    # File lib/fog/cloudstack/models/compute/security_group_rule.rb, line 26
            def save
              requires :security_group_id, :cidr, :direction

              data = connection.send("authorize_security_group_#{self.direction}".to_sym, params)
              job = connection.jobs.new(data["authorizesecuritygroup#{self.direction}response"])
              job.wait_for { ready? }
              # durty
              merge_attributes(job.result.send("#{self.direction}_rules").last)
              self
            end